I'm running into issues trying to install Rails on OS X Lion using RVM.
So far, I have done the following:
- Installed Mac OS X Lion Version 10.7 (Build 11A459e).
- Installed XCode 4.1 Developer Preview 5.
- Installed RVM.
- Installed a 1.8.7 version of Ruby via RVM using the command
rvm install 1.8.7
. Note: I need to be using 1.8.7 and not 1.9.2. - Switched to the 1.8.7 version of Ruby using the command
rvm 1.8.7
. - Created a new gemset using the command
rvm gemset create rails3
. - Switched to the new gemset using the command
rvm use 1.8.7@rails3
. To install Rails I ran the command
gem install rails
but I got the following error:/Users/m/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/timeout.rb:60: [BUG] Segmentation fault
The same error happens when trying to run any gem command so I don't think it's really a problem with Rails.
Judging by the links below, I don't seem to be the only person having this issue:
http://twitter.com/#!/pingles/status/66261101351927809 and https://github.com/carlhuda/bundler/issues/1058
rvm info
and see what it says. It might hold some clues. – the Tin Man