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)
if you follow the solution from Artyom Blagoda on the Windows with ruby installed on the WSL (Ubuntu) you'll get into situation when wsl path (\wsl$\Ubuntu) of ruby script (rails) could not be found by remote (Ubuntu) ruby interpreter. to make it work you need to add path mapping on:

**Settings -> Ruby SDK and Gems** -> Your remote ruby or RVM -> then click the folder icon above, you'll find a new window where you put:

Local Path: //wsl$/Ubuntu/PATH\_TO\_YOUR\_RAILS\_BIN

---

Remote Path: PATH\_TO\_YOUR\_RAILS\_BIN

hope it helps ;)