I'm trying to use the RVM hooks to run a command after I cd
into a directory with my rails app.
The contents of my ~/.rvm/hooks/after_cd
is:
echo "Now using $rvm_ruby_string"
The contents of my ~/.rvm/hooks/after_use
is:
echo "Now using $rvm_ruby_string"
When I do $rmv use 1.9.2
I see my echo, but when I cd
into the rails root directory for my app I don't get any echo.
Am I using the after_cd
hook wrong?
$rvm -v
says:
rvm 1.0.8 by Wayne E. Seguin (wayneeseguin@gmail.com) [http://rvm.beginrescueend.com/]