How to set up Rubymine to work with Rails on Vagrant?

Hi, guys!

Newbie here. I'm using precise64 and installed ruby 2.0.0p481 and Rails 4.1.1 on it. I managed to set up connection in Rubymine with VM and even launch ruby script.
But i don't understand how to work with rails projects.
I'm creating empty project, as i don't really understand how to create Rails project through remote SDK in Rubymine. So then i create rails projects on VM with Git Shell and download it to my local machine.
As i understand i'm supposed to add Rails config in Run/Debug Configurations, but when i try to do so i get "Rails sever launcher wasn't found in project".

Could someone help or share a link on a guide?

Thanks

2 comments

Hi,

it is impossible now to create rails project from RubyMine on remote host so you do really need to create it yourself and download.
After that opening it with RubyMine it is supposed to be recognized as Rails project.
As for configuring remote sdk in RubyMine check http://confluence.jetbrains.com/display/RUBYDEV/Configuring+Remote+Interpreters

Let me know if you will have some questions/problems.

Oleg.

0

I guess solved previous problem by changing Deployment path like Roman said http://devnet.jetbrains.com/message/5306075#5306075

Thanks!

0

Please sign in to leave a comment.