Can't install capybara-webkit in Windows Server 2008 R2 / Windows 7

蹲街弑〆低调 提交于 2019-12-11 05:39:51

问题


I need to run tests in Jenkins which is installed on Windows Server 2008 R2 x64, so the advices to run bundle install without "test" section do not fit here.

I NEED to have capybara-webkit be installed in Windows. The error message I'm getting, includes, as always, native extensions:

Installing capybara-webkit (0.12.0) with native extensions
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.

        C:/Ruby193/bin/ruby.exe extconf.rb


Gem files will remain installed in C:/Ruby193/lib/ruby/gems/1.9.1/gems/capybara-webkit-0.12.0 for inspection.
Results logged to C:/Ruby193/lib/ruby/gems/1.9.1/gems/capybara-webkit-0.12.0/./gem_make.out

Native QT components seem to be installed (I have downloaded 1,7 GB (!!!) distribution package and installed it). Enhancing PATH does not help.

DevKit is installed too.


回答1:


What's the error message?

You need all the right versions of QT, mingw, your path updated, and then to run everything here https://github.com/thoughtbot/capybara-webkit/wiki/Installing-Qt-and-compiling-capybara-webkit in the right way... Make sure you're in the pkg directory at the end.

See capybara-webkit (0.8.0) failed to build on window 7



来源:https://stackoverflow.com/questions/12304095/cant-install-capybara-webkit-in-windows-server-2008-r2-windows-7

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!