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