I have a question regarding importing a rails application into RubyMine using the open from directory method. I have two different rails applications on my computer, but RubyMine only recongizes one of them to be a Rails Application while it recognizes the other to be a plain directory.
This is a problem, since I want to get the full features out of RubyMine for my current project. Can anybody come up with solutions/RubyMine's method of determining whether or not something is a rails application? Thanks!
Run the Rails server without configuringPress Ctrl twice. Type the rails server command in the invoked popup and press Enter . Wait until RubyMine starts the Rails server. The Run tool window shows the application's output.
Select File | Open and choose a folder containing the desired project. In the invoked dialog, click Attach. RubyMine will show both projects in the Project view.
For me deleting and recreating the project settings folder - .idea on linux - in the project root solved the false recognition. After deleting, restart the IDE and open the project folder again. This solves small other bugs that may arise.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With