I setup Vagrant with rbenv and installed ruby 2.2.4 and rails 220.127.116.11
The vagrant box is trusty64.
I configured the remote interpreter by selecting the ruby executable inside the versions folder (as suggested on this page: https://www.jetbrains.com/ruby/help/configuring-remote-ruby-interpreters.html) and it works fine. I can run the rails server and it also works in debug mode.
The only problem is when I reload the rake task list from Tools > Run Rake Task, as I get the following error message:
Error: [rake --tasks] env: /path/to/rails/app/bin/bundle: No such file or directory
But the file is actually there, and if I run rake --tasks from the virtual machine (vagrant ssh) it works fine.
Any idea? Thanks.