I'm updating my project from Rails 3.2.12 to 4.0.0. I made all necessary corrections but when I try to execute my app using RubyMine 5.4 I'm receiving the message below:
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.
What am I doing wrong?
"Hack" solution:
rails new MyTestRails4Project
Update
If the first solution doesn't work, as RiPuk suggested:
Run the rake task: rake rails:update
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With