ruby - Why isn't .rvmrc working on Ubuntu? -
i trying ruby , rvm working on ubuntu system, experiencing strange behaviour. new ruby, may have missed basic.
i cloned octopress folder, , there .rvmrc file in there contains:
rvm use 1.9.2 the thing when enter folder, file not taken account. if 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 work, 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 result. however, running ruby --version again not change anything.
the strange thing works fine if connect myself localhost using ssh.
i installed rake using "installing rvm on linux".
you running issues due recent changes in how rvm expects loaded (the method in link isn't correct iirc). follow steps @ https://rvm.io/rvm/upgrading/. also, use rvm stable --auto configure bash scripts
Comments
Post a Comment