mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-07 01:26:03 +02:00
commit
be82a55510
1 changed files with 23 additions and 0 deletions
23
common/gem.md
Normal file
23
common/gem.md
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
#gem
|
||||||
|
|
||||||
|
> Interact with the package manager for the Ruby programming language.
|
||||||
|
|
||||||
|
- Install latest version of a gem
|
||||||
|
|
||||||
|
`gem install {{gemname}}`
|
||||||
|
|
||||||
|
- Install specific version of a gem
|
||||||
|
|
||||||
|
`gem install -v=0.0.15`
|
||||||
|
|
||||||
|
- Update a gem
|
||||||
|
|
||||||
|
`gem update {{gemname}}`
|
||||||
|
|
||||||
|
- List all gems
|
||||||
|
|
||||||
|
`gem list`
|
||||||
|
|
||||||
|
- Uninstall a gem
|
||||||
|
|
||||||
|
`gem uninstall {{gemname}}`
|
Loading…
Add table
Reference in a new issue