I'm getting this error in RubyMine when I try to start the server in debugging mode.

5:36:02 AM Error running Development: depot: Rails server launcher '/Users/eka/dev/tutorials/agile-rails-dev/depot/script/rails' wasn't found in project

My Rubymine version is 5.0.

有帮助吗?

解决方案

Currently this is fixed on the master branch, and most likely the fix will be available in 5.X EAP during the next couple of weeks.

A quick workaround is:

You can copy "rails" script from "bin" to "script" folder as a workaround. NOTE: if u don't have "script" folder under your project root then please create new folder and name it as "script"(For Rails 4). Then copy "rails" from "bin" folder to it.

Credit goes to community support(Dennis Ushako)

Reference: http://youtrack.jetbrains.com/issue/RUBY-13234

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top