Reputation: 11
I messed up with my rails and rubies and rvm and I have already reinstall them for a few times. To reinstall I do
rvm implode
I install everything with sudo
I can't create any new rails projects right now and it stopped when installing bundle and keep giving the Segmentation fault.
here is the error I have when doing bundle install in a app that I created before
trample1210$ bundle install
Fetching gem metadata from https://rubygems.org/./Users/trample1210/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/net/http.rb:799: [BUG] Segmentation fault
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin11.4.0]
Upvotes: 1
Views: 295
Reputation: 53178
It's a bug in rubies compiled with clang
you need to reinstall your ruby with GNU GCC, easiest way to get it is to install osx-gcc-installer.
To reinstall ruby run:
rvm reinstall 1.9.3
There is no need to implode, more important is to get proper compiler - gcc-4.2
should output no clang or LLVM.
Upvotes: 1