Can't find server launcher in RubyMine.

Answered

I see "Error running '<configuratiuon> Rails server launcher wasn't found in project" when I try to start my server. My Cucumber configurations work just fine. I have already attempted the solutions https://stackoverflow.com/questions/27883244/cannot-start-the-debugger-in-rubymine-rails-server-launcher-wasnt-found-in-pro and https://stackoverflow.com/questions/30141740/rubymine-rails-server-launcher-wasnt-found-in-the-project/44922746#449227460 and https://intellij-support.jetbrains.com/hc/en-us/community/posts/115000013390-Rails-Server-Launcher-Wasn-t-Found-In-Project?input_string=Can%27t%20find%20server%20launcher%20in%20RubyMine..

This is RM 2018.3.5 for Linux, and Rails 5.2.2, Ruby 2.6.1p33 for x86_64-bit Linux.

To the extent my interface is the same, I believe I have the same relevant project settings (SDK) for the configurations that use Rails that work (i.e., Cucumber), as I do for this one. `which rails` reports "/home/derrell/.rbenv/shims/rails" (which another answer suggests is correct).

If there's further information I can supply, let me know.

 

 

3 comments
Comment actions Permalink

Hello,

could you please specify whether the project in question has been created in RubyMine or outside of it? Does it help in case you remove .idea folder from the project's root?

0
Comment actions Permalink

That appears to have done that. I had done that previously, and it was this problem that remained. 

Any idea why this works? I can't locate any obvious differences in any of the files.

 

 

0
Comment actions Permalink

One of the possible reasons is files' corruption.

0

Please sign in to leave a comment.