How do I get “gem install” to work on OS X Lion with Ruby 1.8.7 without seg faulting?
问题 I am novice rails/terminal user and just did a fresh Lion install + Xcode after that. Installed RVM but when I execute "gem install [any gem]" in terminal, I get this error: /Users/[my user]/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/timeout.rb:60: [BUG] Segmentation fault ruby 1.8.7 (2011-06-30 patchlevel 352) [i686-darwin11.0.0] Abort trap: 6 Can anyone help, please? PS. I am using - and in the project I am working on, I must use ruby v1.8.7. 回答1: Make sure your rvm is up to date: rvm get