You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default rvm-prompt outputs the fully qualified ruby string necessary to select the particular ruby currently selected and nothing when system ruby is selected.
This part still holds, but for
(s)ystem - echo "system" when using system ruby
the behavior when not using system Ruby is undefined. It used to echo nothing, and it now outputs the default of rvm-prompt i v p g:
[ches@lupin]$ rvm current
system
[ches@lupin]$ rvm-prompt s
system
[ches@lupin]$ rvm-prompt
[ches@lupin]$ rvm default
[ches@lupin]$ rvm-prompt
ruby-1.9.2-p290
[ches@lupin]$ rvm-prompt s
[ches@lupin]$ rvm current
system
[ches@lupin]$ rvm-prompt s
system
[ches@lupin]$ rvm-prompt
[ches@lupin]$ rvm default
[ches@lupin]$ rvm-prompt
ruby-1.9.2-p290
[ches@lupin]$ rvm-prompt s
ruby-1.9.2-p290
So I don't know if this is a bug per se, since docs are technically correct, but it broke my personal prompt customization, so I thought I'd bring it up. It does seem to me that, for a command that essentially asks the question "Am I using system Ruby?", a null-like response is a better negative answer than "ruby-1.9.2-p290" 😄
The text was updated successfully, but these errors were encountered:
this seams as part of a bigger issue, currently using default might overwrite system ruby / is a final fallback, so this behavior is correct as the default ruby is available even in system mode
86437e9 changed the behavior of
rvm-prompt s
when a non-system Ruby is active.Technically the current documentation appears valid, but it's ambiguous:
This part still holds, but for
the behavior when not using system Ruby is undefined. It used to echo nothing, and it now outputs the default of
rvm-prompt i v p g
:Before 86437e9
After 86437e9
So I don't know if this is a bug per se, since docs are technically correct, but it broke my personal prompt customization, so I thought I'd bring it up. It does seem to me that, for a command that essentially asks the question "Am I using system Ruby?", a null-like response is a better negative answer than "ruby-1.9.2-p290" 😄
The text was updated successfully, but these errors were encountered: