我正在将我的项目从 Rails 3.2.12 更新到 4.0.0。
我进行了所有必要的更正,但是当我尝试使用 RubyMine 5.4 执行我的应用程序时,我收到以下消息:
Error running Development: MyProject: Rails 3.x launcher script was found instead of Rails 4.x one. You need '/Users/stackoverflowuser/RubymineProjects/MyProject/bin/rails' script to launch Rails server. Please update server launcher according to Rails 4.x documentation.
我究竟做错了什么?
最佳答案
“黑客”解决方案:
rails new MyTestRails4Project
更新
如果第一个解决方案不起作用,正如 RiPuk 建议的那样:
运行 rake 任务:
rake rails:update
关于ruby-on-rails - RubyMine 显示错误消息 : "Error running Development: MyProject: Rails 3.x launcher script was found instead of Rails 4.x one",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18948883/