bundle
命令手册Dependency manager for the Ruby programming language. More information: https://bundler.io/man/bundle.1.html.
Gemfile
expected in the working directory:bundle install
bundle exec {{command}} {{arguments}}
Gemfile
and regenerate Gemfile.lock
:bundle update
Gemfile
:bundle update {{gemname}} {{gemname}}
Gemfile
but only to the next patch version:bundle update --patch {{gemname}} {{gemname}}
Gemfile
:bundle update --group {{development}}
Gemfile
with newer versions available:bundle outdated
bundle gem {{gemname}}