Problems installing Ruby on Mountain Lion - ruby 1.9.3 wont' compile Problems installing Ruby on Mountain Lion - ruby 1.9.3 wont' compile ruby ruby

Problems installing Ruby on Mountain Lion - ruby 1.9.3 wont' compile


This is a bug in RailsInstaller OSX 1.0.3 - https://github.com/railsinstaller/railsinstaller-nix/issues/10

you need to change /etc/rvmrc to contain this:

umask g+wexport -a rvm_configure_envrvm_configure_env=('LDFLAGS=-L/opt/sm/pkg/active/lib' 'CFLAGS=-I/opt/sm/pkg/active/include' 'CPATH=/opt/sm/pkg/active/include')

I will prepare new version of the installer when binary ruby is available for 2.0.0.

UPDATE: for new version of RVM 1.19+ /etc/rvmrc should be changed to:

umask g+wexport rvm_autolibs_flag=smf

And run rvm get stabel #OR: head


Not sure I did it the 'correct' way, but I just removed RVM (rvm implode) and then reinstalled it (\curl -L https://get.rvm.io | bash -s stable --ruby) and it installed and is now running the latest version of ruby 1.9.3-p327 no problem.