title: Rails ignores Ruby version using rvm
body: <p>I'm having an issue getting the right Ruby version to load with one project. I've already install the ruby version I need with rvm, and set it up with <code>rvm use 1.9.3</code>, when I run <code>rvm list</code> I get this:</p>
  
  <pre><code>=&gt; ruby-1.9.3-p547 [ x86_64 ]
   * ruby-2.1.2 [ x86_64 ]
  </code></pre>
  
  <p>So it appear it's correct, but when I try to run the project with <code>rails server</code>I get this:</p>
  
  <pre><code>Your Ruby version is 2.0.0, but your Gemfile specified 1.9.3
  </code></pre>
  
  <p>Here is my <strong>Gemfile</strong>: </p>
  
  <pre><code>source 'http://rubygems.org'
  
  ruby '1.9.3'
  
  #gem 'date-performance'
  
  gem 'rails', '3.1.12'
  
  # Bundle edge Rails instead:
  # gem 'rails',     :git =&gt; 'git://github.com/rails/rails.git'
  
  gem 'bson',     '1.3.1'
  gem 'bson_ext', '~&gt; 1.3.1'
  
  # Gems used only for assets and not required
  # in production environments by default.
  group :assets do
    gem 'coffee-rails', "~&gt; 3.1.0"
    gem 'uglifier'
    gem 'rails-backbone'
  end
  
  gem 'jquery-rails'
  
  # Use unicorn as the web server
  gem 'unicorn'
  
  # Deploy with Capistrano
  # gem 'capistrano'
  
  # To use debugger
  # gem 'ruby-debug19', :require =&gt; 'ruby-debug'
  
  gem 'rspec-rails', :group =&gt; [:development, :test]
  
  group :test do
    # Pretty printed test output
    gem 'turn', :require =&gt; false
    gem 'database_cleaner'
    gem 'factory_girl_rails'
    #gem 'mongoid-rspec'
    gem 'cucumber-rails'
    gem 'capybara'
  end
  
  #
  # Backup
  #
  gem "heroku-mongo-backup"
  
  #
  # Errors
  #
  gem 'newrelic_rpm'
  
  # ORM
  gem 'mongoid', '~&gt; 2.2'
  
  #S3 media storage
  gem 'aws-s3'
  gem 'fog'
  gem 'asset_sync'
  
  #Image processing
  gem 'carrierwave'
  gem 'carrierwave-mongoid', :require =&gt; 'carrierwave/mongoid'
  gem 'rmagick'
  
  #Cache
  gem 'rack-cache', :require =&gt; 'rack/cache'
  gem 'dalli'
  
  # Active admin
  gem 'activeadmin'
  gem 'meta_search', '&gt;= 1.1.0.pre'
  gem 'sass-rails', "  ~&gt; 3.1.0"
  
  group :production do
    gem 'thin'
  end
  
  group :development do
    #gem 'heroku-rails'
  end
  </code></pre>
  
  <p><strong>which bundle</strong> output:</p>
  
  <pre><code>/Users/arielorozco/.rvm/gems/ruby-1.9.3-p547@global/bin/bundle
  </code></pre>
  
  <p><strong>gem env</strong>: </p>
  
  <pre><code>RubyGems Environment:
    - RUBYGEMS VERSION: 2.2.2
    - RUBY VERSION: 1.9.3 (2014-05-14 patchlevel 547) [x86_64-darwin13.1.0]
    - INSTALLATION DIRECTORY: /Users/arielorozco/.rvm/gems/ruby-1.9.3-p547
    - RUBY EXECUTABLE: /Users/arielorozco/.rvm/rubies/ruby-1.9.3-p547/bin/ruby
    - EXECUTABLE DIRECTORY: /Users/arielorozco/.rvm/gems/ruby-1.9.3-p547/bin
    - SPEC CACHE DIRECTORY: /Users/arielorozco/.gem/specs
    - RUBYGEMS PLATFORMS:
      - ruby
      - x86_64-darwin-13
    - GEM PATHS:
       - /Users/arielorozco/.rvm/gems/ruby-1.9.3-p547
       - /Users/arielorozco/.rvm/gems/ruby-1.9.3-p547@global
    - GEM CONFIGURATION:
       - :update_sources =&gt; true
       - :verbose =&gt; true
       - :backtrace =&gt; false
       - :bulk_threshold =&gt; 1000
    - REMOTE SOURCES:
       - https://rubygems.org/
    - SHELL PATH:
       - /Users/arielorozco/.rvm/gems/ruby-1.9.3-p547/bin
       - /Users/arielorozco/.rvm/gems/ruby-1.9.3-p547@global/bin
       - /Users/arielorozco/.rvm/rubies/ruby-1.9.3-p547/bin
       - /Users/arielorozco/.rvm/bin
       - /usr/local/heroku/bin
       - /Applications/MAMP/bin/php/php5.4.19/bin
       - /usr/bin
       - /bin
       - /usr/sbin
       - /sbin
       - /usr/local/bin
       - /opt/X11/bin
       - /usr/local/git/bin
  </code></pre>
  
  <p>I've no idea how to get this work (I'm using a Mac), please help!</p>