-
-
Notifications
You must be signed in to change notification settings - Fork 188
Closed
Description
I'm considering using chruby in a prebuilt machine image that is going to be publicly available for Ruby developers. However I ran into an unpleasant usability surprise.
I installed chruby, then I ran:
ruby-install ruby 1.8.7
Then I ran:
chruby
The output is empty. This was confusing. Why did it not see my new Ruby? I logged out and logged in again, and this time it saw my new Ruby. I shouldn't have to do this.
Reading the source code, it seems that chruby only queries the list of Rubies during evaluation of source.sh. You should query it more often. Or, at the very least, you should provide a command for reloading the list of Rubies, and updating ruby-install to tell the user about the need to relogin/running the reload command.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels