Rails not using correct version of Ruby
问题 New information This is what happens with rails console : Loading development environment (Rails 3.1.1) ruby-1.9.2-p290 :001 > RUBY_VERSION => "1.8.7" There's something really weird going on here - the prompt says 1.9.2 but RUBY_VERSION shows 1.8.7 . I'm using RVM, but I'm having problems with Rails on Ubuntu. $ which ruby /home/nick/.rvm/rubies/ruby-1.9.2-p290/bin/ruby $rvm list rvm rubies => ruby-1.9.2-p290 [ i686 ] But if I do gem env I get RubyGems Environment: - RUBYGEMS VERSION: 1.8.11