I have been using RubyMine for a couple of weeks now with a rails3.1.0.rc4 and ruby 1.9.2, and rvm.
Today after doing a git pull I started getting the following error:
Run Configuration Error: Rails 3.x launcher script was found instead of Rails 2.x one.
From the command line I can do a 'gem list' see that my rails and action* and active* gems are version 3.1.0.rc4
I can still run rails from the command line, and I can run the rails console from the IDE, but I can't run or debug rails from the IDE.
Going to the File/Settings/Ruby SDK and Gems show a rails gem with a version of 4c4928 (weird). Missing are the action* active* gems.
From the IDE I do a gem install and it pulls down rails 3.1.0.rc5 and now I see the the action* and active* gems with version of 3.1.0.rc5, although there is still the weird rails version 4c4928
And when I try to run the rails server from the IDE, I still get this Run Configuration Error: Rails 3.x launcher script was found instead of Rails 2.x one. error.
Doing a gem list at the command line does not show this weird rails version 4c4928.
Anyone have a clue as to how I fix this?