zsh support seems broken by 1.15.8 (master) #1095

ratbag98 opened this Issue Sep 6, 2012 · 2 comments

3 participants

% zsh --version
zsh 4.3.11 (i386-apple-darwin12.0)

% echo $PATH
/Users/rob/.rvm/gems/ruby-1.9.3-p194/bin:/Users/rob/.rvm/gems/ruby-1.9.3-p194@global/bin:/Users/rob/.rvm/rubies/ruby-1.9.3-p194/bin:/Users/rob/.rvm/bin:/Users/rob/bin:/usr/local/bin:/Applications/VMware OVF Tool:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/Users/rob/.rvm/bin

% rvm use 1.9.3
Using /Users/rob/.rvm/gems/ruby-1.9.3-p194
Running /Users/rob/.rvm/hooks/after_use
/Users/rob/.rvm/hooks/after_use:4: command not found: find

% echo $PATH

Problem seems to lie in __rvm_remove_from_path, which appears to remove the previous contents of PATH entirely.

Ruby enVironment Manager member

This underwent a pretty big refactor yesterday.

I'll endeavour to have a look in the next 24 hours.


You sir, are a gentleman and a scholar. If you need anything more from me, I'll be back at my work pod at 08:00 BST.

I should add that I've tried it with bash (no other changes, just ran "bash -l" before trying the steps) and it works fine. I've also tried running zsh without any .zshrc or .zlogin (after a reboot to clear things out completely), manually sourcing the .rvm/scripts/rvm and it fails. Finally, I've tried it with zsh on a Linux box with the same failure results.

@mpapis mpapis closed this in 5d15123 Sep 6, 2012
@mpapis mpapis was assigned Sep 6, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment