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
rbenv update
#301
Comments
Already working on it, but want to get 0.4.0 out the door first. |
+1, though it would only be really useful if it also updates plugins (like my update plugin does) or at least ruby-build. |
@justinclift and I have been working on |
A command to manage plugins would be interesting but not sure if we would have it in core. I'm not completely sold yet, but others might be. However since this issue is about an |
I'm happy with a plugin plugin. |
Sort of like vim-pathogen for Rbenv? I like it. |
@sstephenson: How about an |
@mislav , if it's okay - I recommend that we "get inspired" from I have also read through the Do you want it to be part of |
Every time I run
Having to run PS: I would love to contribute to help this become a reality, but in the immediate future I sadly don't have the time. I wonder if anyone involved with this thread does? |
@olivierlacan I do believe that this should be easier for the user, and what you're suggesting sounds completely reasonable. However, there's something that feels slightly risky about software that updates itself by itself without any intervention from the user—especially when the software has never done so before. I'm not sure if we should alienate our users' trust by starting to automatically update ruby-build on every I like the approach of |
re: auto-updating I really like this idea. Given that the rbenv-update plugin exists, but there hasn't been any movement to pull it into core, this feels like the perfect feature to add to the plugin itself. ruby-build's |
FWIW while I still use |
@rkh I believe I still have commit rights on that repo so if someone tackles a PR, I could handle reviewing and releasing. |
I think the concern about self-updating can be handled by a prompt.
@jasonkarns I’m down ! |
@jasonkarns So, should we use ruby-build hooks when an attempt to I realize saying this out loud how much is involved for this to happen. And I'm a bit exhausted, but does that even still sound like something reasonable @mislav? |
Thanks for thinking long and hard about this. Yes, this does sounds like something that could improve the user experience when installing new versions. However, I would not couple this to rbenv-update, since rbenv-update updates rbenv and all its plugins, and we're only interested in updating ruby-build. So I would move this conversation to ruby-build, add an auto-updater there (we don't even need a hook; we could just bake it into I would also avoid a prompt, because prompts are annoying, so if someone checked out ruby-build via git, we can just assume that they don't mind if we fast-forward it to the latest version. |
Should we have an
rbenv update
command? /cc @rkhIt would work only if
RBENV_ROOT
is where rbenv is installed, and if it's a git repo.I think it might be useful, considering the slow release cycle, and especially now that we have
rbenv --version
capable of displaying edge versions from git.The text was updated successfully, but these errors were encountered: