Rails is not using my global Ruby version
I want to use Rails with Ruby 2.1.0, but it's using Ruby 1.9.3 (the system's version). I'm using rbenv to manage my Ruby versions. My steps were something along the lines of: $ rbenv install 2.1.0 $ rbenv global 2.1.0 $ sudo gem install rails -v 4.0.2 $ rbenv rehash $ rbenv versions system * 2.1.0 (set by /home/dennis/.rbenv/version) $ ruby -v ruby 2.1.0p0 (2013-12-25 revision 44422) [x86_64-linux] $ rails new app && cd app $ rails server Rails is using is Ruby 1.9.3 (x86_64-linux), according to localhost:3000/rails/info/properties . A log message from rails server gives: INFO ruby 1.9.3 (2012