RubyMine: Rails server launcher wasn't found in the project

后端 未结 5 1518
醉酒成梦
醉酒成梦 2021-02-02 10:19

After importing an existing project into RubyMine, I encountered \"Rails server launcher wasn\'t found in the project\" when I Run/Edit Configuration.

I\'ve checked thi

5条回答
  •  无人共我
    2021-02-02 10:44

    I've came across this same problem, and a way I found to solve it was to properly defining the root folder of the project when opening it in the first time with RubyMine.

    As far as I can understand, ideally you should open the project by pointing the RubyMine to the project's root folder:

    my-workplace/
    |-- rails-project-name/  <-- point RubyMine here when openning
    |   |-- app/
    |   |-- bin/
    |   |-- config/
    |   |-- db/
    |   |-- lib/
    |   |-- log/
    |   |-- public/
    |   |-- test/
    |   ...
    

提交回复
热议问题