Question: 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 this [Cannot start the debugger in Rubymine. Rails server launcher wasn't found in project](https://stackoverflow.com/questions/27883244/cannot-start-the-debugger-in-rubymine-rails-server-launcher-wasnt-found-in-pro), but deleting the .idea directory and re-open is not helpful. 

I can `rails server` in the Terminal successfully and the rails server runs. So I guess it's likely a RubyMine related thing.

Thanks,
Allen

Answer: 
My variant to solve same problem.

Create new run configuration, but use "Ruby" template instead of "Redmine":

**Ruby script** field set to path to your redmine rails bin path and **Script arguments** set to "*server -b 127.0.0.1 -p 3000 -e developmen*t" for ex.

[![enter image description here](https://i.stack.imgur.com/rLq7W.png)](https://i.stack.imgur.com/rLq7W.png)
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/
|   ...

```