Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

RVM problems installing ruby 2

I did rvm get stable

Then I tried to install ruby 2.0.0

$ **rvm install 2.0.0** 
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.8/x86_64/ruby-2.0.0-p0.
Continuing with compilation. Please read 'rvm mount' to get more information on binary rubies.
Installing requirements for smf, might require sudo password.
Installing SM Framework.
Error running 'requirements_smf_install_sm',
please read /usr/local/rvm/log/ruby-2.0.0-p0/smf_install.log

$ **cat /usr/local/rvm/log/ruby-2.0.0-p0/smf_install.log**
[2013-03-28 20:58:11] requirements_smf_install_sm
SMF Framework support is only intended for RailsInstaller, please use Homebrew integration instead.

The error log is not very helpful. I am on Mac OS X Mountain Lion. Any help?

like image 306
Tony Avatar asked Mar 29 '13 00:03

Tony


2 Answers

It's because RVM was set to use a different library system: SMF. You need to set RVM to use brew instead. Here is page on rvm autolibs https://rvm.io/rvm/autolibs/

Use rvm autolibs show to see what your current setting is and if you are using brew, you can change it with rvm autolibs brew

like image 117
Amala Avatar answered Oct 10 '22 23:10

Amala


Try running

brew update

If you don't have brew installed there is a good guide here to doing the whole installation process, you can ignore the 1.9.3 stuff and replace it with 2.0.0

http://www.moncefbelyamani.com/how-to-install-xcode-homebrew-git-rvm-ruby-on-mac/

like image 26
muttonlamb Avatar answered Oct 10 '22 22:10

muttonlamb