It compiles well, but when I try to install any gems I get the following:
gem install bundler
/Users/me /.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/timeout.rb:60: [BUG] Bus Error
ruby 1.8.7 (2011-06-30 patchlevel 352) [i686 -darwin11.1.0]
Abort trap: 6
Update: Finally I want to install Xcode 4.2, install Ruby 1.8.7, 1.9.x RVM, and all work normally .
>Install Xcode 4.2
>Install the gcc standalone compiler from https://github.com/kennethreitz/osx-gcc-installer (replace Xcode)
>Add export CC=gcc-4.2 to ~/.bash_profile or equivalent (don’t forget to reload it)
>Run rvm implode”, then reinstall rvm http://beginrescueend.com/< /p>
At this point, I was able to install ruby-1.8.7 (and ruby-1.9.2), actually letting my gems install.
After compiling Ruby 1.8.7 with RVM on Lion 10.7.1 with Xcode 4.2 GM (new MacBook), I get an error.
It compiles well, but when I try to install any Gems I get the following:
gem install bundler
/Users/me/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/ timeout.rb:60: [BUG] Bus Error
ruby 1.8.7 (2011-06-30 patchlevel 352) [i686-darwin11.1.0]Abort trap: 6
Update: Finally, I want to install Xcode 4.2, install Ruby 1.8.7, 1.9.x RVM, and all work normally.
Because I had to parse several of these answers in order to work with XCode 4.2, and I thought I put it together:
>Install Xcode 4.2
>from https://github .com/kennethreitz/osx-gcc-installer install gcc standalone compiler (replace Xcode)
>add export CC=gcc-4.2 to ~/.bash_profile or equivalent (don’t forget to reload it)
Run rv m implode” and reinstall rvm http://beginrescueend.com/
At this point, I was able to install ruby-1.8.7 (and ruby-1.9.2), which actually made me Gem installation.