Problem installing rspec-1.3.2 on Lion using RVM and ruby 1.8.6
I'm trying to install rspec version 1.3.2 on OS X Lion using RVM and Ruby 1.8.6
When I install, I get the following:
$ gem install rspec -v=1.3.2
Abort trap: 6
I'm able to successfully install the same rspec version using the system ruby. I've tried to do some research into the problem, but it doesn't lo开发者_高级运维ok like anybody has run into the same thing. Similar questions have suggested export CC=gcc-4.2
before installing ruby. I tried that (after completely blowing away RVM and reinstalling the latest version, 1.6.31 right now) but it had no effect.
Has anyone else else encountered this? Have you found a solution?
I installed 1.8.6 fresh with no gems and installed with verbose flag...
gem install rspec -v=1.3.2 --verbose
GET http://rubygems.org/specs.4.8.gz
302 Moved Temporarily
GET http://production.s3.rubygems.org/specs.4.8.gz
200 OK
Installing gem rspec-1.3.2
Abort trap: 6
I see the problem of Abort Trap 6 seems to indicate that some dependency is missing. I was hoping that this would get resolved with the pristine command, but settled on just going down a version.
rvm gemset pristine
gem install rspec -v=1.3.1 --verbose
...
Successfully installed rspec-1.3.1
...
gem list
*** LOCAL GEMS ***
rake (0.9.2)
rspec (1.3.1)
Why must you use 1.3.2 instead of 1.3.1? Hope this helps.
精彩评论