bad ecpoint SSL error on fresh RVM Ruby 1.9.3 install on OSX Mountain Lion
Explaining my comment...
Update RVM to latest development version (but stable
should work too):
rvm get head
Install all required libraries for ruby (autolibs=4
is for full automation):
rvm --autolibs=4 --debug requirements
Finally reinstall ruby:
rvm reinstall 1.9.3
You can enable full library automation within RVM for next commands with:
rvm autolibs enable
Install Ruby with Mountain Lion, Xcode 4.5, and RVM?
no, ruby is not fully compatible with llvm, there is at least one issue with Fibers and other issues might occur if version of llvm changes.
Ruby works best with gcc-4.2, rvm provides information how to get it (+other important stuff):
rvm requirements
How can I install Ruby 1.9.3 in Mac OS X Mountain Lion without Xcode?
osx-gcc-installer turns out to be a very good option to replace Xcode in order to install Ruby 1.9.3
These are the steps I have followed:
- Download & install the latest version of osx-gcc-installer here (GCC-10.7-v2 is fine): https://github.com/kennethreitz/osx-gcc-installer
- Install RVM as usual and select 1.9.3-head as the default ruby installation: https://rvm.io/rvm/install/
- Install Homebrew: https://github.com/mxcl/homebrew/wiki/installation
- Install libksba to resolve some dependencies with Ruby 1.9.3:
brew install libksba
That's it! You should now have Ruby 1.9.3 installed on Mountain Lion working perfectly.
If you need some other packages, install them now through Homebrew, such as Imagemagick for example: brew install imagemagick
It's possible that you need XQuartz for Homebrew to work properly, as Apple is not shipping X11 since Mountain Lion. You can download it here: http://xquartz.macosforge.org/trac/wiki
EDIT:
Now (since 29th July) Command line tools for Xcode 4.4 are available.
So, the new steps are these:
- Download & install Command line tools for Xcode 4.4 (you don't need to download Xcode): https://developer.apple.com/downloads/index.action
- Install Homebrew: https://github.com/mxcl/homebrew/wiki/installation
- Install automake:
brew install automake
- Install RVM as usual and select 1.9.3-head as the default ruby installation: https://rvm.io/rvm/install/
Optional step: You may need XQuartz for some components, for example for Imagemagick, so download & install XQuartz: http://xquartz.macosforge.org/trac/wiki
RVM install gives error Unrecognized option: --autolibs=3 on OSX Lion
I noticed that on the home page of the rvm site I seen that there was a diffrent install script.
\curl -L https://get.rvm.io | bash -s stable --rails --autolibs=enabled
Install worked with no issue.
Looks like the install page is just out of date.
installing Rails 1.9.3 using RVM gives error message
run
rvm requirements
See if you have installed everything that is required
Getting Ruby 1.8.7 installed on Mountain Lion (10.8)
I just figured it out! Please reference this question on SO
rvm can no longer install 1.8.7-p352 on Mac OS X Mountain Lion
rvm reinstall 1.8.7 --without-tcl --without-tk
Alternatively, try this installation order if you have Homebrew.
brew install tcl-tk
rvm reinstall 1.8.7
Related Topics
Undefined Method 'Email' for Nil:Nilclass in Exibe the Mail of Table Father
Ruby String Split into Words Ignoring All Special Characters: Simpler Query
Regex for Matching All Words Between a Set of Curly Braces
Where Does Rails Store Data Created by Saving Activerecord Objects During Tests
Validating Phone Number in Ruby
Can a Ruby Module Be Described as a Singleton Class
Ruby Soap4R Wsdl2Ruby.Rb Errors
Convert String to Datetime Ruby on Rails
Rails 3.2 Force_Ssl Except on Landing Page
Ruby: Why Are All Coordinates Getting Updated in an Array of Arrays
Open Xml File with Nokogiri Update Node and Save
Why Can't We Override '||' and '&&'
Can Anyone Explain This Array Declaration to Me
Error While Installing Iconv on Windows by Ruby2.0.0