-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Won't work if there is no system rbenv command installed #10
Comments
Drat. It used to work for me with rbenv. Yeah I probably had rbenv installed in /usr/local via homebrew. Unfortunately I don't use rbenv any more (I use chruby now), so it'll be hard for me to debug. Looks like it'd be possible to reorder the code so that it runs |
I verified that moving the assignment of Rather than moving the line that determines the available ruby versions, would it not work just as well to delete the line that filters out the |
You're probably right. I can't think of any reason that Anyway, since you use rbenv and I don't, I'd say feel free to make whatever changes you think best-- and once you've convinced yourself it really works I'll be happy to take your word for it and merge a PR. (And if other people then raise rbenv-related issues, I might send them your way :) |
In ruby_selector's Rbenv class it removes all
.rbenv
directories out of the$PATH
and other environment variable cleansing. However, if there is no global system-installedrbenv
command, then this means that it can no longer find any rbenv command to runrbenv versions --bare
The user-installed rbenv is:
The text was updated successfully, but these errors were encountered: