Update cheatsheets

This commit is contained in:
ivuorinen
2024-02-21 11:19:49 +00:00
parent 4e88a1b42f
commit 3d653cc7e6
4803 changed files with 127002 additions and 0 deletions

42
rbenv Normal file
View File

@@ -0,0 +1,42 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# rbenv
> Easily install Ruby versions and manage application environments.
> See also: `asdf`.
> More information: <https://github.com/rbenv/rbenv>.
- Install a Ruby version:
`rbenv install {{version}}`
- Display a list of the latest stable versions for each Ruby:
`rbenv install --list`
- Display a list of installed Ruby versions:
`rbenv versions`
- Use a specific Ruby version across the whole system:
`rbenv global {{version}}`
- Use a specific Ruby version for an application/project directory:
`rbenv local {{version}}`
- Display the currently selected Ruby version:
`rbenv version`
- Uninstall a Ruby version:
`rbenv uninstall {{version}}`
- Display all Ruby versions that contain the specified executable:
`rbenv whence {{executable}}`