running rspec with phantomjs
Hi, new to rubymine. Trying it out with an existing project that has rspec request specs using phantomjs. When i run the specs I get the following error.
Running specs...
Command line:
...
/Users/jonathan/.rvm/gems/ruby-1.9.3-p327/bin/rspec: No such file or directory - phantomjs --version
Capybara::Poltergeist::PhantomJSFailed: PhantomJS returned non-zero exit status 127. Make sure phantomjs runs successfully on your system. You can test this by just running the `phantomjs` command which should give you a Javascript REPL.
In a normal terminal console,
$ which phantomjs
/usr/local/bin/phantomjs
/usr/local/bin/phantomjs
I've searched the docs, help and google for how to augment the PATH within rubymine but dont an answer.
TIA
请先登录再写评论。
1.
same issue with spork+ cucumber + capybara + poltergeist
anton@ubuntu:~/work/tradein$ which phantomjs
/home/anton/opt/phantomjs-1.8.1-linux-i686/bin/phantomjs
anton@ubuntu:~/work/tradein$ cucumber
with
like in Rubymine cucumber script fails with
2.
if i run spork from console
but if i start cucumber from RubyMine
i get exception
seems like problem with TeamcityFormatter which not work with modern rails