Search code examples
rubymine

RubyMine - no run rails generator option under tools after cloning repository


Whenever I create a project from existing files by cloning a repository, the options run rails script and run rails generators don't appear under tools.

It's like RubyMine doesn't recognize the project as a rails application. How do I solve this?


Solution

  • Accidentally the .idea folder was pushed to Git and then later pulled.

    Removing .idea from the root of the project and restarting RubyMine solved the problem.