Windows 7, rails 4, vagrant, remote sdk not finding gems

Hey,
My setup is the following:
windows 7 with ruby mine v5.4.3.2.1
vagrant to run the rails app, ubuntu
ruby 2, installed through rvm

In RubyMine, when I add a remote SDK, I point the ruby interpreter path to  "/home/vagrant/.rvm/rubies/ruby-2.0.0-p247/bin/ruby", which is the directory that "which ruby" gives me.
When the adding is complete, the gemlist only shows 6 gems - bundler, bundler-unload, executable-hooks, rake, rubygems-bundler, rvm
When I try to run, I get an error "No Rails found in SDK". I'm sure I'm missing something in the process and I hope you guys can help me out.
If you have any questions, don't hesitate to ask.
Regards,
Nikolay

Please sign in to leave a comment.