I have this
# Gemfile
source 'https://rubygems.org'
ruby '2.1.5'
and
#.ruby-version
2.1.5
and this
$ rvm list
rvm rubies
ruby-1.9.3-p484 [ x86_64 ]
ruby-2.0.0-p451 [ x86_64 ]
ruby-2.1.0 [ x86_64 ]
ruby-2.1.1 [ x86_64 ]
ruby-2.1.2 [ x86_64 ]
ruby-2.1.3 [ x86_64 ]
* ruby-2.1.5 [ x86_64 ]
And yet I keep getting this:
$ rails s
Your Ruby version is 2.1.2, but your Gemfile specified 2.1.5
Ruby 2.1.5 is installed.
Already installed ruby-2.1.5.
To reinstall use:
rvm reinstall ruby-2.1.5
ruby - v
ruby 2.1.2p95
$ rvm use --default 2.1.5
Using /home/alex/.rvm/gems/ruby-2.1.5
But then when I open a new tab or terminal, it reverts back to 2.1.2
ruby - v
ruby 2.1.2p95