I want to use RubyMine for Rails development on Debian (Squeeze). Debian has in its standard environment an old version of rails (2.3.5 I think).
I download inside RubyMine a new version of Rails (3.2.8) and RubyMine store it at ~/.gem/ . Now there is the correct rails command at ~/.gem/ruby/1.8/bin/ but RubyMine still uses the rails command /usr/bin/rails when creating a rails project. Sadly this rails command doesn't understand all parameters of RubyMine.
So, how can I config RubyMine that it uses the rails command in ~/.gem/ruby/1.8/bin/ ?