rvm doesnt work when specifiying the path...?

Posted by jtzero on Super User See other posts from Super User or by jtzero
Published on 2011-01-03T06:02:17Z Indexed on 2011/01/03 6:55 UTC
Read the original article Hit count: 312

Filed under:
|
|

when typing in the path to the rvm it doesnt work

$which rvm 
/usr/local/bin/rvm
$ruby -v
ruby 1.9.2p0 (2010-08-18 revision 29036) [i686-linux]
$/usr/local/bin/rvm use 1.8.7
Using /usr/local/rvm/gems/ruby-1.8.7-p302
$ruby -v
ruby 1.9.2p0 (2010-08-18 revision 29036) [i686-linux]
#now w/o the path
$rvm use 1.8.7
Using /usr/local/rvm/gems/ruby-1.8.7-p302
$ruby -v 
ruby 1.8.7 (2010-08-16 patchlevel 302) [i686-linux]

$whereis rvm
rvm: /usr/local/bin/rvm /usr/local/lib/rvm /usr/local/rvm

....
/etc/bash.bashrc 
....
if [[ -n "$PS1" ]]; then
...
[[ -s "/usr/local/rvm/scripts/rvm" ]] && . "/usr/local/rvm/scripts/rvm"

anyone seen this?

© Super User or respective owner

Related posts about ruby

Related posts about ubuntu-server