mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-15 20:15:53 +02:00
rbenv: add page (#2133)
This commit is contained in:
parent
c76af0fe7d
commit
c0f023b573
1 changed files with 31 additions and 0 deletions
31
pages/common/rbenv.md
Normal file
31
pages/common/rbenv.md
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
# rbenv
|
||||||
|
|
||||||
|
> A tool to easily install Ruby versions and manage application environments.
|
||||||
|
|
||||||
|
- Install one or more space-separated versions of Ruby:
|
||||||
|
|
||||||
|
`rbenv install {{version(s)}}`
|
||||||
|
|
||||||
|
- Display a list of installed versions:
|
||||||
|
|
||||||
|
`rbenv versions`
|
||||||
|
|
||||||
|
- Use a specific version of Ruby across the whole system:
|
||||||
|
|
||||||
|
`rbenv global {{version}}`
|
||||||
|
|
||||||
|
- Use a specific version of Ruby for an application/project folder:
|
||||||
|
|
||||||
|
`rbenv local {{version}}`
|
||||||
|
|
||||||
|
- Show the currently selected Ruby version:
|
||||||
|
|
||||||
|
`rbenv version`
|
||||||
|
|
||||||
|
- Uninstall a version of Ruby:
|
||||||
|
|
||||||
|
`rbenv uninstall {{version}}`
|
||||||
|
|
||||||
|
- Display all ruby versions that contain the specified executable:
|
||||||
|
|
||||||
|
`rbenv whence {{executable}}`
|
Loading…
Add table
Reference in a new issue