Rails Server Launcher Wasn't Found In Project

I'm using IntelliJ IDEA 2016.3.2 and attempting to setup a rails run/debug configuration.  When attempting to set it up, I get an error saying that the rails server launcher wasn't found in the project.  I've opened the directory as my root project directory where a subdirectory called bin has a rails file.  I'm able to run the rails server from that same directory without any problems.  I've tried deleting my .idea folder and reopening the same folder and I get similar results.

I am using rbenv with ruby version 2.3.1.

8 comments
Comment actions Permalink

Hello Aaron,

could you please specify if the corresponding facet (Ruby on Rails) is configured and module SDK is set (screenshots from File | Project Structure | Project Settings | Modules/Facets would be great)

0
Comment actions Permalink

Same for me with 2017.2 EAP and before with 2017.1.3 EAP. I also have bin/rails and can start from the command line. This bug occurs every few versions. I also don't have any module SDK settings apart from those for the Ruby SDK. Project Structure doesn't have a submenu called Project Settings and the term facet can't be found at all via the settings search. See the attached screenshot on how my Project Structure dialog looks. As one can see there are Rails engines/submodules (api/backend/core). But this doesn't stop bin/rails from working on the command line. Also I could use this repo via Rubymine in Rubymine 2016.2.

0
Comment actions Permalink

By the way, there's at least this other post https://intellij-support.jetbrains.com/hc/en-us/community/posts/206060689-Rails-server-launcher-wasn-t-found-in-project

And another thing, what's more effective in reaching personnel at JetBrains? That YouTrack issue tracker or this community site?

Here's a ticket on that tracker that shows a user for whom an update from 2016.3.1 EAP to 2016.3.2 EAP fixed the launcher problem. Updating seems to help and also this can be considered an ongoing issue. Since I have it with 2017.2 again. Added that to the comments of said issue.

0
Comment actions Permalink

Hi,

I'm having the similar issue with RubyMine 2017.1.4 (build 171.4694.21). I'm using a remoteruby sdk with ruby 2.3.1 and rails 5.1.2.

Not sure if it makes any difference but since its not possible to create a rails project when you only have a remote sdk, the project was manually created using the rails new command.

My goal will also be to setup a debug rails configuration.

 

Thanks,

Miguel

0
Comment actions Permalink

I encountered this error this morning using the latest IntelliJ Ultimate. It took me the whole day to solve it, not something you'd expect when you're a low income earner paying for premium software licence. I really wish there was a call center. It's really disappointing that there's such a lack of walk-through setup guides on even this kind of basic setup stuff.

I decided to post the solution on Stackoverflow with lots of explanatory screenshots and I hope this solves a lot of people's issues: 

https://stackoverflow.com/questions/30141740/rubymine-rails-server-launcher-wasnt-found-in-the-project/44922746#44922746
0
Comment actions Permalink

I just encountered this error again. I thought upgrading to the latest version of IntelliJ Ultimate 2017.2.4 would help, but upgrading made things worse, instead of it migrating all my previous configuration settings, plugins, and SDKs such as Ruby on Rails as was requested, it just broke everything. I wish Jetbrains support was more accessible.

 

 

0
Comment actions Permalink

@Luke,

sorry for the inconvenience. Could you please specify what exactly has been broken. You can also write me to rubymine-support@jetbrains.com.  

1
Comment actions Permalink

Hi, I had the same problem, I have created the project again and save the default configuration of the servers on project.

I tested with rails application and rails api and now it's working.

0

Please sign in to leave a comment.