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 install gems in ruby-head / 2.0.0-preview1 when using https://rubygems.org source #1290
Comments
From rbenv/ruby-build#197 I learned that Ruby 2 is incompatible with the version of OpenSSL bundled with MacOS, so it doesn't compile the extension. I got things working with homebrew openssl using:
It would be nice if rvm detected this situation automatically and used the |
The |
@jfirebaugh your comment also replies to my question here : https://groups.google.com/d/topic/rubyversionmanager/QJpJHscxudI/discussion |
See this gist for an updated incantation: |
RVM will now install openssl on OSX for ruby 2.0, in case of brew it can be skipped this way:
|
Thanks @jfirebaugh! The Homebrew instructions from your gist worked great. |
Does this still work? With Ruby 2.0.0 rc1 I still get the OpenSSL errors with a completely clean install of RVM. |
@tonyarnold Have you tried running |
@balexand — yes, from a fresh install of RVM, this yields the error seen above (but for Ruby 2.0.0-rc1) |
@tonyarnold please open a new ticket including: rvm get head
rvm pkg remove
rvm remove 2.0.0
rvm install 2.0.0 --debug |
I have the following in my .gemrc, as IMO everybody should for security reasons:
I find I can't install any gems into a fresh ruby-head or 2.0.0-preview1 install:
Is openssl not bundled with these rubies? Can it be?
The text was updated successfully, but these errors were encountered: