Sunday, 18 August 2013

Rails 4 my .bashrc file does not reflect latest ruby version

Rails 4 my .bashrc file does not reflect latest ruby version

I have upgraded to Rails 4 and have the following versions installed (see
below). The problem is that my .bashrc file still have references to
ruby-1.9.2. Is this a problem and how do I correct this?
$ rvm list
rvm rubies
ruby-1.9.2-p320 [ x86_64 ]
ruby-1.9.3-p392 [ x86_64 ]
=* ruby-2.0.0-p247 [ x86_64 ]
$ rails -v
Rails 4.0.0
.bashrc
PATH="/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/git/bin:/Users/francoisvdhoven/.rvm/bin:/Users/francoisvdhoven/.rvm/bin/npm:/Users/francoisvdhoven/.rvm/bin:/bin:/Users/francoisvdhoven/.rvm/bin/node:/Users/francoisvdhoven/.rvm/gems/ruby-1.9.2-p320/bin:/Users/francoisvdhoven/.rvm/gems/ruby-1.9.2-p320@global/bin:/Users/francoisvdhoven/.rvm/rubies/ruby-1.9.2-p320/bin"
Thanks for your help! Francois

No comments:

Post a Comment