Вопрос

Using Rubymine 4.0.1 I get the following error running my capybara-webkit tests. I can run these tests fine from command line.

Это было полезно?

Решение

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.

Другие советы

check for the RubyMine version...I was also facing same issue...but after 1 weeks research I discovered that Rubymine 5.4.4 has this issue...then I switched back to 5.4.1...And it starts working :)

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top