better checking for rbenv/rvm