Reputation: 2002
I'm trying to install Ruby 2.0 using RVM on my Macbook running Snow Leopard. RVM Version - 1.18.18 XCode Version - 4.0.2 GCC Version - 4.2.1
When I run rvm install 2.0.0
, it fails with
Error running 'make -j4',
please read /Users/membLoper/.rvm/log/ruby-2.0.0-p0/make.log
And the make.log fails with 'Bus Error'. Complete log here https://gist.github.com/anonymous/1cacd89ee0d4fb2be3e2
I suspect its something to do with my gcc but cannot figure out what exactly. I've tried setting the readline to brew installed location, setting the gcc to Clang and still run into this error. Any help is appreciated.
Upvotes: 1
Views: 1076
Reputation: 262
This is what worked for me:
rvm install 2.0.0 --autolibs=2 --with-gcc=clang
Upvotes: 0
Reputation: 53158
The problem is because of the old Xcode, try compiling using CC=gcc-4.2
- but it does not have to work, if that fails try to update Xcode or install Command Line Tools for Xcode
Upvotes: 4