added check for rvm before turning on rvm mode; same for rbenv