My setup is the following:
windows 7 with ruby mine v22.214.171.124.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.