Troubles during gem install(Mac OS X 10.6.7) #49
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I get the following error when I gem install jasmine-headless-webkit. Does anyone know what I'm doing wrong?
Building native extensions. This could take a while...
ERROR: Error installing jasmine-headless-webkit:
ERROR: Failed to build gem native extension.
/Users/skumar/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/site_ruby/1.8/rubygems/version.rb:143: uninitialized constant Gem (NameError)
from /Users/skumar/.rvm/gems/ree-1.8.7-2011.03/gems/jasmine-headless-webkit-0.6.2/lib/qt/qmake.rb:2:in
require' from /Users/skumar/.rvm/gems/ree-1.8.7-2011.03/gems/jasmine-headless-webkit-0.6.2/lib/qt/qmake.rb:2 from extconf.rb:5:in
require'from extconf.rb:5
Gem files will remain installed in /Users/skumar/.rvm/gems/ree-1.8.7-2011.03/gems/jasmine-headless-webkit-0.6.2 for inspection.
Results logged to /Users/skumar/.rvm/gems/ree-1.8.7-2011.03/gems/jasmine-headless-webkit-0.6.2/ext/jasmine-webkit-specrunner/gem_make.out
Thanks for any help!
So, if I add:
module Gem
end
to:
/Users/skumar/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/site_ruby/1.8/rubygems/version.rb before the line Gem:Version, it seems to install successfully.