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
Today, upgrading RubyGems and Bundler requires "special" commands (gem update --system and bundle 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 and gem 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:
Should we also handle gem install rubygems and gem update rubygems?
Should we also handle bundle update bundle?
Should we deprecate the existing update commands, or just leave them there for anyone who still remembers them?
The text was updated successfully, but these errors were encountered:
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).
Not that bundle update --bundler already does both, so it'd be just a matter of "aliasing" bundle update bundler to what bundle update --bundler does.
@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 selfupdate?
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: