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
rbenv-install 2.0.0-dev not installing OpenSSL? #197
Comments
Ruby 2 is incompatible with the version of OpenSSL bundled with MacOS, so it doesn't compile the extension. To work around, install OpenSSL using homebrew instead, then set the CONFIGURE_OPTS environment variable when you build Ruby:
|
just as you said. |
This is probably not the right forum, so please bear with me. after running
I've installed OpenSSL via homebrew (i.e. home brew openssl). I am able to bundle install with no problem, and when using 1.9.3-p194 everything works as expected. As a matter of troubleshooting I tried the install command suggested about: and then I tried this one: Same result-error when firing up any rails server. This seems out of scope but given where you sit @jeremy I figured I'd share my experience. |
Maybe try double-checking the environment variable:
|
problem solved. I was not setting the ENV var - cheers. |
i have reinstall openssl with brew and excute the bellowing but still failed and get the output: ownloading openssl-1.0.1e.tar.gz...
-> https://www.openssl.org/source/openssl-1.0.1e.tar.gz
Installing openssl-1.0.1e...
BUILD FAILED
Inspect or clean up the working tree at /var/folders/0b/ywhs0qyx2235vm2634f1q3fr0000gn/T/ruby-build.20130226215116.53076
Results logged to /var/folders/0b/ywhs0qyx2235vm2634f1q3fr0000gn/T/ruby-build.20130226215116.53076.log |
I had a similar issue. Once I got over installing Ruby 2.0.0-p0 I had an I did the following to get my setup working: gem install bundler -v 1.3.0.pre.7 --pre Add this to .bash_profile pre8 gave my system fits. Hope this helps rhodee Kewin Wang wrote:
|
@kewin2010 It should work if you replace @rhodee This issue has been fixed in the latest version of cd ~/.rbenv/versions/2.0.0-p0/openssl/ssl
mv cacert.pem cert.pem If this doesn't work, try upgrading and reinstalling 2.0.0-p0. |
Thanks @erik, will give it a try and then report if anything doesn't go Erik Michaels-Ober wrote:
|
Changed the compiler flags. That did not seem to help. :~ nachtmusiktx$ echo $CONFIGURE_OPTS BUILD FAILED Inspect or clean up the working tree at /var/folders/rh/mk90rlp54gg09txhyb1vphd00000gn/T/ruby-build.20130620100627.55251 Last 10 log lines: |
@nachtmusiktx This is also happening to me. Changing the flags did not fix anything; maintainers, any idea what this is all about? |
I have not figured it out yet. A guy at work said he could not get 2.0 to make sure you export your path. That does make a difference. I am going to try to install 1.9 today and see if that goes any better. Laura On Thu, Jun 20, 2013 at 3:55 PM, Eudis Duran notifications@github.comwrote:
|
Not sure about the Mac users, but I had this issue on my new Debian virtual machine and was perplexed as to why it was occurring when I had
I assume you can do the same thing with |
I am attempting to play around with Rails 4 and after I install bundler and run bundle install I get the following message from Rails:
Could not load OpenSSL. You must recompile Ruby with OpenSSL support or change the sources in your Gemfile from 'https' to 'http'. Instructions for compiling with OpenSSL using RVM are available at rvm.io/packages/openssl.
What should I do? Is there a way to set
MAKEOPTS
while install ruby 2.0.0-dev? Thanks have a great weekend!The text was updated successfully, but these errors were encountered: