Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Gem build error under 1.9.2-p180, can't find rake #15

Closed
stevehodgkiss opened this Issue · 8 comments

5 participants

@stevehodgkiss

I can install the gem under 1.8.7 ok, but 1.9.2 throws this error:

% gem install capybara-webkit
Building native extensions.  This could take a while...
ERROR:  Error installing capybara-webkit:
    ERROR: Failed to build gem native extension.

        /Users/steve/.rvm/rubies/ruby-1.9.2-p180/bin/ruby extconf.rb
/Users/steve/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems.rb:408:in `bin_path': can't find gem rake ([">= 0"]) with executable rake (Gem::GemNotFoundException)
    from /Users/steve/.rvm/gems/ruby-1.9.2-p180/bin/rake:19:in `<main>'


Gem files will remain installed in /Users/steve/.rvm/gems/ruby-1.9.2-p180/gems/capybara-webkit-0.1.6 for inspection.
Results logged to /Users/steve/.rvm/gems/ruby-1.9.2-p180/gems/capybara-webkit-0.1.6/./gem_make.out

A reinstall of rake didn't help.

I can run rake build BUILD=true and it builds ok.

Thanks
Steve

@joshuaclayton

I can confirm this; I'm going to look into using https://github.com/luislavena/rake-compiler this weekend and see if that solves this issue.

@technomage

I can also confirm it fails under 1.9.2. Any success please post.

@aurels

Same here.

@ryanb

Does capybara-webkit 0.1.4 install for you? That worked for me under 1.9.2.

gem install capybara-webkit --version=0.1.4
@aurels

Thanks Ryan,

No, I've got the same error with this version.

I installed Qt with the package from Nokia because I get an error with homebrew, do you think it can change anything ?

==> Downloading http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.7.1.tar.gz
File already downloaded and cached to /Users/aurels/Library/Caches/Homebrew
==> Downloading patches
######################################################################## 100.0%
==> Patching
/usr/bin/patch: **** Only garbage was found in the patch input.
Error: Failure while executing: /usr/bin/patch -f -p1 -i 001-homebrew.diff
@aurels

( I'm also trying on 1.9.2 btw )

@ryanb

I'm not sure what the issue could be. Installation through Homebrew worked fine for me but took about an hour to complete. Here are the versions I'm using.

  • OS X 10.6.5
  • Qt 4.7.2
  • Ruby 1.9.2-p136
  • capybara-webkit 0.1.4

I've tried installing 0.1.6 on my setup and get the same error as above.

@aurels

I've got the same versions except ruby which is 1.9.2p180.

I just compiled 1.9.2-p136 through RVM and tested : same error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.