mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-12 04:54:52 +03:00
dd955ca693
gem: add SemVer spec install example bundle: fix update example, add patch-update, group-update, and outdated examples
837 B
837 B
bundle
Dependency manager for the Ruby programming language. More information: https://bundler.io/man/bundle.1.html.
- Install all gems defined in the
Gemfile
expected in the working directory:
bundle install
- Update all gems by the rules defined in the
Gemfile
and regenerateGemfile.lock
:
bundle update
- Update one or more specific gem(s) defined in the
Gemfile
:
bundle update {{gemname}} {{gemname}}
- Update one or more specific gems(s) defined in the
Gemfile
but only to the next patch version:
bundle update --patch {{gemname}} {{gemname}}
- Update update all gems within the given group in the
Gemfile
:
bundle update --group {{development}}
- List installed gems in the
Gemfile
with newer versions available:
bundle outdated
- Create a new gem skeleton:
bundle gem {{gemname}}