diff --git a/pages/common/bundle.md b/pages/common/bundle.md index f6ce0423f..1397e18ca 100644 --- a/pages/common/bundle.md +++ b/pages/common/bundle.md @@ -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: diff --git a/pages/common/gem.md b/pages/common/gem.md index f86798771..05cbf0d60 100644 --- a/pages/common/gem.md +++ b/pages/common/gem.md @@ -3,10 +3,6 @@ > Interact with the package manager for the Ruby programming language. > More information: . -- 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}}` diff --git a/pages/linux/auracle.md b/pages/linux/auracle.md new file mode 100644 index 000000000..5f9cb22e1 --- /dev/null +++ b/pages/linux/auracle.md @@ -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: . + +- 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`