无法在Windows Server 2008 R2/Windows 7中安装capybara-webkit [英] Can't install capybara-webkit in Windows Server 2008 R2 / Windows 7

查看:43
本文介绍了无法在Windows Server 2008 R2/Windows 7中安装capybara-webkit的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在Windows Server 2008 R2 x64上安装的Jenkins中运行测试,因此此处没有测试"部分的情况下运行捆绑包安装的建议就不适合了.

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中安装capybara-webkit.我收到的错误消息像往常一样包括本机扩展:

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

似乎已经安装了本地QT组件(我已下载并安装了1,7 GB(!!!)分发软件包.增强PATH并没有帮助.

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

DevKit也已安装.

DevKit is installed too.

推荐答案

错误消息是什么?

您需要所有正确的QT版本,mingw,更新路径,然后在此处运行所有内容

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.

请参见 capybara-webkit(0.8.0)无法在窗口7上构建

这篇关于无法在Windows Server 2008 R2/Windows 7中安装capybara-webkit的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆