Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

RubyMine Cannot Recognize Rails Application

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!

like image 531
jab Avatar asked Jun 24 '12 03:06

jab


People also ask

How do I run a RubyMine project in Rails?

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.

How do I import a project into RubyMine?

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.


1 Answers

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.

like image 166
Ikon Avatar answered Nov 14 '22 21:11

Ikon