tldr/pages/common/gem.md

24 lines
336 B
Markdown
Raw Normal View History

2015-10-22 08:31:52 +01:00
# gem
2014-03-01 08:41:02 +00:00
> 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
2015-12-31 12:28:12 +00:00
`gem install {{gemname}} -v {{1.0.0}}`
2014-03-01 08:41:02 +00:00
- Update a gem
`gem update {{gemname}}`
- List all gems
`gem list`
- Uninstall a gem
`gem uninstall {{gemname}}`