mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
auracle: add page, gem,bundle: update (#4572)
gem: add SemVer spec install example bundle: fix update example, add patch-update, group-update, and outdated examples
This commit is contained in:
parent
7161d65a40
commit
dd955ca693
3 changed files with 38 additions and 6 deletions
|
@ -11,9 +11,21 @@
|
|||
|
||||
`bundle update`
|
||||
|
||||
- Update one specific gem defined in the `Gemfile`:
|
||||
- Update one or more specific gem(s) defined in the `Gemfile`:
|
||||
|
||||
`bundle update --source {{gemname}}`
|
||||
`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:
|
||||
|
||||
|
|
|
@ -3,10 +3,6 @@
|
|||
> Interact with the package manager for the Ruby programming language.
|
||||
> More information: <https://rubygems.org>.
|
||||
|
||||
- Search for remote gem(s):
|
||||
|
||||
`gem search {{regexp}}`
|
||||
|
||||
- Search for remote gem(s) and show all available versions:
|
||||
|
||||
`gem search {{regexp}} --all`
|
||||
|
@ -19,6 +15,10 @@
|
|||
|
||||
`gem install {{gemname}} --version {{1.0.0}}`
|
||||
|
||||
- Install the latest matching (SemVer) version of a gem:
|
||||
|
||||
`gem install {{gemname}} --version '~> {{1.0}}'`
|
||||
|
||||
- Update a gem:
|
||||
|
||||
`gem update {{gemname}}`
|
||||
|
|
20
pages/linux/auracle.md
Normal file
20
pages/linux/auracle.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
# auracle
|
||||
|
||||
> Command line tool used to interact with Arch Linux's User Repository, commonly referred to as the AUR.
|
||||
> More information: <https://github.com/falconindy/auracle>.
|
||||
|
||||
- Display AUR packages that match a regular expression:
|
||||
|
||||
`auracle search '{{regex}}'`
|
||||
|
||||
- Display package information for a space-separated list of AUR packages:
|
||||
|
||||
`auracle info {{package1}} {{package2}}`
|
||||
|
||||
- Display the `PKGBUILD` file (build information) for a space-separated list of AUR packages:
|
||||
|
||||
`auracle show {{package1}} {{package2}}`
|
||||
|
||||
- Display updates for installed AUR packages:
|
||||
|
||||
`auracle outdated`
|
Loading…
Add table
Reference in a new issue