-
-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can't find OpenSSL #113
Comments
What versions of frum do you use? From v0.1.2, frum uses [email protected]. |
I ran into a similar error while trying to bring up a rails app. Prefixing arch -arm64 gem install bundler Hope this helps! |
I was able to get past the openssl issue by reinstalling ruby. Using frum,
|
I'm unable to install any rubies using frum on an M1 running Monterey: not even with @151henry151 suggestion. I think this is the same issue, so won't open a new one. The error I get is
Hopefully this is useful information - sadly I don't know Rust. |
@docljn Have you tried manually removing the $ rm -rf ~/.frum/versions/2.7.5 |
I did do exactly that @shanebarringer thank you. The joys of being an early adopter, I guess :) |
I know right 🙃 Once you've removed it, maybe try prefixing $ arch -arm64 frum install 2.7.5 that seems to have worked for me |
Does everyone in this issue use M1 mac? I want to know your environment like the following. MacBook Air (M1, 2020) |
0.1.2 compiles everything without issue for me (pre 0.1.2, I did have openssl issues as without One thing to mention is that if memory serves me correctly when the M1 was released, a lot of early adopters had to use That changed some months after, but I wonder if having to use MacBook Air (M1, 2020)
I noticed a similar error if there's a |
@TaKO8Ki in reference to your question, here are my device specs MacBook Pro (16-inch, 2021) |
|
maOS Monterey |
Thank you for your reply. I understand everyone uses Monterey on M1 mac. I don't have a M1 mac, but I'm going to look it into. |
maOS Monterey
FYI, Homebrew installs to a different directory on M1 than Intel. |
Same issue here on M2. Such a shame I wanted to give frum a try. Has anyone found a solution?
|
@fsegouin Ruby versions less than 3.1 don't support OpenSSL3. If you want to use OpenSSL 3, then you need to use Ruby 3.1 or higher. If you need to install 2.7.5, then you have to use OpenSSL 1.1 |
@monfresh Thanks! I was successful with this command: |
I was installing ruby 3.x and got the error error: Can't build Ruby: make failed: . ./vm_opts.h brew install libyml Ruby was installed successfully after installing libyml, |
I think you meant to write
|
I've updated my installation guide Install Ruby with Frum for Ruby 3.1. I'm advising to install OpenSSL using Homebrew before installing frum. However, after installing OpenSSL, frum, and Ruby 3.1, when I try to install the rails gem, I get:
Looking at closed issues, it looks like frum version 0.1.2 fixes any issues with OpenSSL. What am I overlooking? Do I need to install ruby with the option
--with-openssl-dir=<ssl_dir>
? Or do I need to add openssl to my PATH?Let me know and I'll update my guide.
The text was updated successfully, but these errors were encountered: