Reputation: 373
Okay, so I have a fresh install and a clean slate...
What is the proper way to update OpenSSL from scratch on OSx 10.8.3?
Nothing is installed yet, but after I can get OpenSSL updated to v1+ I usually go with the standard: RailsInstaller.org ..... or should I be doing Homebrew/RVM first to setup rails?
Things like http://railsapps.github.com/rails-composer/ have issues without the updated OpenSSL and their recommendations don't seem to to the trick. http://railsapps.github.com/openssl-certificate-verify-failed.html
I have tried many ways without luck. Lot's of discussion/suggestions out there but would like to get it right one the first time without messing anything else up this time. Is it maybe that there is a line that requires sudo? If we can get a solid answer I'd like to get it out there to the rest of the community.
System: 15" MacBookPro Retina (2013) with OSx 10.8.3 Mountain Lion
Upvotes: 0
Views: 1903
Reputation: 35149
A little late to the party...but the following non-rvm approach works for me:
This will put the executable in /usr/local/ssl/bin/openssl
, so add this to your path (e.g. in .bash_profile:
export PATH="/usr/local/ssl/bin:$PATH"
And you may need to recompile ruby in order to pick up the changes.
Upvotes: 2
Reputation: 53158
Use RVM 1.19:
\curl -L https://get.rvm.io | bash -s stable --ruby --autolibs=enable
It will use existing package manager (fallback to Homebrew), install all requirements for ruby and ruby itself, right now it is MRI Ruby 2.0.0-p0
Follow instructions given from the installer, then:
rvm use ruby
ruby -v
Upvotes: 0