Bug Bus Error Ruby 1.8.7

After compiling Ruby 1.8.7 with RVM on Lion 10.7.1 using 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 .

Since I had to parse several of the answers in order to work with XCode 4.2, I thought I put it together:

>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.

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 1217 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.