-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Allow self-update via regular install/update commands #7316
Comments
Not that |
How |
@hsbt I think users will guess "gem update gem" or "gem install gem" because of other package managers (like npm, pip, etc) that use "npm install npm" or "pip update pip". Do you think users will guess |
Today, upgrading RubyGems and Bundler requires "special" commands (
gem update --system
andbundle update --bundler
, respectively).It would improve the user experience if upgrading used the same commands to upgrade other gems. This would not only make it easier to remember how to upgrade, it would also get us more in line with other package managers, like pip (
pip upgrade pip
) and npm (npm install npm
).I propose we handle
gem install gem
andgem update gem
, installing the latest version of RubyGems.I also propose we allow
bundle update bundler
as a way to both 1) install the newest Bundler version (e.g.gem install bundler
), and also 2) update the Bundler version used by the current Gemfile (e.g.bundle update --bundler
).Open questions:
gem install rubygems
andgem update rubygems
?bundle update bundle
?The text was updated successfully, but these errors were encountered: