Install bundler using rvm, ruby ​​1.8.7 with gcc 4.7 on linux

Problems creating ruby ​​1.8.7 or installing a plug-in bundle from GCC 4.7 on linux (Fedora 17, Arch, etc.). This problem has arisen for me using RVM. I was able to install 1.8.7, but could not install the harness. I get the following error:

$ gem install bundler

~/.rvm/rubies/ruby-1.8.7-p358/lib/ruby/1.8/timeout.rb:60: [BUG] Segmentation fault
ruby 1.8.7 (2012-02-08 patchlevel 358) [x86_64-linux]

This problem is described in several places, including:

+6
source share
2 answers

gcc 1.8.7, .

$ rvm remove 1.8.7
$ CFLAGS="-O2 -fno-tree-dce -fno-optimize-sibling-calls" rvm install 1.8.7
$ rvm use 1.8.7
$ gem install bundler

, :

# 6383: Segfault Timeout GCC 4.7

+18

, , , , 30 2012 , 4.7.0 4.7, . RVM , ( ) GCC , , -.

, , 1.8.7. - "rvm reinstall 1.8.7", , CFLAGS, config. @mpapis, -autoconf -force ?

(mpapis RVM, , , , , , - , )

+1

All Articles