try to detect rvm & rbenv path, thx to @gjaldon