I am trying to get Ruby and RVM working on my Ubuntu system, but I am experiencing strange behaviour. I am a new to Ruby, so I may have missed something basic.
I cloned octopress into a folder, and there is a .rvmrc
file in there that contains:
rvm use 1.9.2
The thing is that when I enter the folder, the file is not taken into account. If I run:
ruby --version
I get:
ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux]
I tried:
./.rvmrc
and:
rvm reload
It seems to work, as I get:
Using /usr/share/ruby-rvm/gems/ruby-1.9.2-p320
Running /usr/share/ruby-rvm/hooks/after_cd
Using /usr/share/ruby-rvm/gems/ruby-1.9.2-p320
as a result. However, running ruby --version
again does not change anything.
The really strange thing is that everything works fine If I connect myself to my localhost using ssh
.
I installed Rake using "Installing RVM on Linux".