You can clone with
RVM prints Running /usr/local/rvm/hooks/after_cd when sshing into my web server and changing directories. Happens 100% of the time.
Not a big deal, just trying to help figure out what's going on. Probably related to #995 and http://stackoverflow.com/questions/10751391/why-am-i-seeing-this-running-after-cd-message-in-the-latest-version-of-rvm
If you have a host with a directory that has an .rvmrc, try this:
ssh -A host.example.com -t 'cd dir-with-rvmrc && bash --login'
My .rvmrc just contains rvm use ruby-1.9.3. This gets printed before getting a login shell:
rvm use ruby-1.9.3
Heck with all the jazz above. To see the message, just cd to a directory that contains an .rvmrc and run bash.
$ cd myproject
this is expected behavior as rvm use sets rvm_verbose_flag=1 and https://github.com/wayneeseguin/rvm/blob/master/scripts/hook#L21 checks for it - so it will be printed, this script was not available in earlier versions of rvm and that's why it was not printed ...
I guess this should be fixed by moving parts of the logic from after_cd to hooks
rescheduling to 2.0 for reworking (fixing) the hooks mechanism
improve hooks, fix #1021
you were getting double Using because of the second bash --login - the first one was done by ssh