tldr/pages/common/gem.md

24 lines
341 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:
2014-03-01 08:41:02 +00:00
`gem install {{gemname}}`
- Install specific version of a gem:
2014-03-01 08:41:02 +00:00
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:
2014-03-01 08:41:02 +00:00
`gem update {{gemname}}`
- List all gems:
2014-03-01 08:41:02 +00:00
`gem list`
- Uninstall a gem:
2014-03-01 08:41:02 +00:00
`gem uninstall {{gemname}}`