I was able to configure the Remote Ruby SDK/RVM from my Vagrant box. That's a great feature for Rubymine.
Now, when I try to run my rspec tests, it's looking for the spec folder on my Mac and not on the Vagrant box.
How can I configure the spec test to use the rails folder from my vagrant box?
I tried putting in the remote folders in the spec configuration in the 'Specs folder' as /home/vagrant/projects/myproject but the command line shows only my Mac folder on the command line
/usr/local/rvm/rubies/ruby-2.2.0/bin/ruby -e '$stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)' /usr/local/rvm/gems/ruby-2.2.0@rails_419/bin/rspec /Users/kxkannan/projects/myproject/spec --require teamcity/spec/runner/formatter/teamcity/formatter --format Spec::Runner::Formatter::TeamcityFormatter --pattern '**/*_spec.rb' --tag ~integration_test
The highlighted directory in the above command line is supposted to be my remote directory (/home/vagrant/projects/myproject), I think.
How can I fix this?