-
-
Notifications
You must be signed in to change notification settings - Fork 428
Failed to build on Windows 7 32bit #320
Comments
We're waiting for the #300 pull to be merged in. In the while, you can use my fork. |
I'm going to close this, since it's a duplicate of #300. |
I downloaded your fork and the build gives "fatal: Not a git repository (or any of the parent directories): .git", twice. Further down it claims to have successfully built the gem but it doesn't install. |
I have the same problem on Win7 (64 bit) with Ruby 1.8.7 using QT 4.7.4 (including path change). These are the sole contents of the Results logged to the gem_make.out file: "C:/railsinstaller/Ruby1.8.7/bin/ruby.exe extconf.rb." When I manually run "gem install capybara-webkit -v '0.12.1' I get the same "ERROR: Failed to build gem native extension." |
@magee, I didn't try with Ruby 1.8.7, sorry. By the way, did you install the devkit? |
I upgraded to 1.9.3 and that didn't help. Just installed the RubyInstaller DevKit and that appears to have solved it. (http://rubyinstaller.org/downloads/) |
Yes, of course, you need the DevKit because capybara-webkit needs to compile the native QT components. |
I have updated this: https://github.com/thoughtbot/capybara-webkit/wiki/Installing-Qt-and-compiling-capybara-webkit, so this issue can be closed. |
Thanks, @morenocarullo. |
It seems you missed the point. The problem is (in case anyone else has the same problem and finds themselves at this page), the QT DevKit WAS installed and didn't resolve the problem. All the guidance says to install that particular DevKit. It doesn't always (ever?) work. However, the RubyInstaller DevKIt that I added a link to above did work for my Win7 (64 bit) system. Thanks for your attention to this. |
@magee, exactly. That's why I updated this: https://github.com/thoughtbot/capybara-webkit/wiki/Installing-Qt-and-compiling-capybara-webkit . |
Wonderful!! |
I have installed the Ruby DevKit and Qt 4.8.1 and added the Qt bin path to my PATH variable as per the instructions, still "gem install capybara-webkit" results in the "Failed to build gem native extension" error. I'm using Windows 7 32bit. On researching the issue online, the only advice I've found is to do bundle install without test, but that isn't a solution as it means skipping the installation of capybara-webkit. I need this for local testing.
Thank you for your help!
The text was updated successfully, but these errors were encountered: