In rubymine:
- go to options (command+
,
) - search
SDK
in options, - click
Add SDK
/new remote
- click
Fill from Vagrant config
and select the folder where your Vagrantfile is located - Very important: In the field
Ruby interpreter path
, put/home/vagrant/.rbenv/versions/2.0.0-p247/bin/ruby
(your ruby version may change, check your versions withls /home/vagrant/.rbenv/versions
in your guest machine - Click OK, grab a cofee
- Your're done