automatic Spring start with vagrant + rubymine

I've crossed over this post http://blog.laaz.org/tech/2015/02/13/faster-rubymine-rspec-with-vagrant/ and it worked as expected!
So I decided to try keep spring running on an automated way on my vagrant box something like having a command "ssh -p 2222 -i ~/.ssh/vagrant222_key vagrant@127.0.0.1 'nohup /home/vagrant/.rbenv/shims/spring'" executed on a 'vagrant up' .
That also works, as I can open another ssh session and confirm spring is runnin (spring status) but Rubymine does not like it in that way :) . Rubymine only accepts it if I open an interactive session manually (vagrant ssh) and nohup' spring (I can close the session and it still works)

Basically the error is "`require': cannot load such file -- teamcity/spec/runner/formatter/teamcity/formatter (LoadError)"

Does someone have an idea what I am missing?


Cheers,
Guy

1 comment
Comment actions Permalink

Hi,

the problem is that RubyMine needs additional load paths to be able to load our helpers (such as custom formatters)
RubyMine store these helpers in /home/vagrant/.rubymine_helpers and you need to play with it to see which particular pahs it usually adds.

Oleg.

0

Please sign in to leave a comment.