Rails 2.x app on RubyMine 3.1

帅比萌擦擦* 提交于 2019-12-12 12:20:02

问题


i've upgraded to rubymine 3.1 and now rubymine take all project as rails 3 project, but the mine are not. Does anybody of you face this problem. Ruby mine fires up this message, when i try to run application

Run configuration error: Rails 2.x launcher found instead of Rails 3.x one. You need '/script/rails' script to launch Rails server. Please update server launcher according to Rails 3.x documentation

My final state is i can run rails 2.x app server from rubymine

Do you know how to achieve that?


回答1:


I had this problem using Rails 2.3 and RubyMine 3.1 -- my solution was to look at the project settings (File -> Settings) and select Ruby SDK and Gems. Look through your attached rails gems. I had both rails 2.x and rails 3.x gems attached to my project.



来源:https://stackoverflow.com/questions/5090318/rails-2-x-app-on-rubymine-3-1

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!