简体   繁体   中英

Rails 2.x app on RubyMine 3.1

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?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM