使用 Rubymine 4.0.1 运行我的 capybara-webkit 测试时出现以下错误。我可以从命令行很好地运行这些测试。
问问题
4667 次
2 回答
3
Documentation states that you need to install Xvfb:
If you're like us, you'll be using capybara-webkit on CI.
On Linux platforms, capybara-webkit requires an X server to run, although it doesn't create any visible windows. Xvfb works fine for this. You can setup Xvfb yourself and set a DISPLAY variable, or try out the headless gem.
You didn't specify the OS that you are using, but here is the installation guide for CentOS that may help.
于 2012-02-28T05:48:30.943 回答
0
检查RubyMine版本......我也面临同样的问题......但经过1周的研究我发现Rubymine 5.4.4有这个问题......然后我切换回5.4.1......它开始工作:)
于 2013-11-28T09:42:18.060 回答