ruby - Set rvm default interpreter in user's .rvmrc? -


i'm curious if it's possible set default ruby interpreter within $home/.rvmrc file (i.e. equivalent of rvm --default use 1.9.2).

i tried setting rvm_ruby_interpreter , rvm_ruby_version, no luck.

just cleaning out unanswered questions... ended taking phrogz's suggestion , adding .zprofile:

rvm_default=ruby-1.9.3-p194@home if [ -x ~/.rvm/bin/rvm-prompt ] && [ "$(~/.rvm/bin/rvm-prompt)" != $rvm_default ] ;   rvm use $rvm_default fi 

looking it's kind of weird question, due fact new rvm , relatively new ruby (but familiar unix , dotfiles).


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -