Troubles during gem install(Mac OS X 10.6.7) #49

Closed
opened 2011-08-11 14:12:55 +00:00 by sheetaluk · 1 comment
sheetaluk commented 2011-08-11 14:12:55 +00:00 (Migrated from github.com)

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/bin/ruby extconf.rb

/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:inrequire'
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!

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/bin/ruby extconf.rb ``` /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!
sheetaluk commented 2011-08-11 17:22:19 +00:00 (Migrated from github.com)

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.

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.
Sign in to join this conversation.
No Label
bug
doc
feature
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: github-migration/jasmine-headless-webkit#49
No description provided.