简体   繁体   English

无法在Windows Server 2008 R2 / Windows 7中安装capybara-webkit

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

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. 我需要在Windows Server 2008 R2 x64上安装的Jenkins中运行测试,因此建议在没有“测试”部分的情况下运行捆绑安装。

I NEED to have capybara-webkit be installed in Windows. 我需要在Windows中安装capybara-webkit。 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). 似乎已经安装了本机QT组件(我已经下载了1.7 GB(!!!)分发软件包并安装了它)。 Enhancing PATH does not help. 增强PATH并没有帮助。

DevKit is installed too. DevKit也已安装。

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. 您需要所有正确版本的QT,mingw,更新路径,然后在此处运行所有https://github.com/thoughtbot/capybara-webkit/wiki/Installing-Qt-and-compiling-capybara-webkit正确的方法...确保最后位于pkg目录中。

See capybara-webkit (0.8.0) failed to build on window 7 请参见在窗口7上构建capybara-webkit(0.8.0)失败

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM