Rubymine global path mapping for project
I' using windows and have a project which uses a remote ruby (in a ubuntu vm). Everytime I create a new rspec test configuration I have to set the path mapping manually for that rspec, which is ULTRA BORING. How can we solve that ?
Please sign in to leave a comment.
Hi,
I'd suggest to use remote sdks for this.
See https://www.jetbrains.com/ruby/help/configuring-remote-ruby-interpreters.html
and https://confluence.jetbrains.com/display/RUBYDEV/Configuring+Remote+Interpreters
Feel free to ask more questions.
Regards, Oleg.
Hi Oleg, tks for your attention !
I did this, but Im editing the files who resides in a shared folder, I'm not deploying to the server.
What's the best way or workflow regarding vms, shared folders, etc ?
Could you point me to the right direction ?
Thank you!
Hi,
if you are using Vagrant see https://confluence.jetbrains.com/display/RUBYDEV/Configuring+Remote+Interpreters+via+Vagrant
if something else see https://confluence.jetbrains.com/display/RUBYDEV/Configuring+Remote+Interpreters (and it doesn't matter if you deploy anything, you still need to configure deployment settings)
Regards, Oleg.