Skip to content

Instantly share code, notes, and snippets.

@titanium-cranium
Last active August 16, 2019 02:31
Show Gist options
  • Save titanium-cranium/62ee852869afc5456ba1ee913612b8ba to your computer and use it in GitHub Desktop.
Save titanium-cranium/62ee852869afc5456ba1ee913612b8ba to your computer and use it in GitHub Desktop.

Revisions

  1. titanium-cranium revised this gist Aug 16, 2019. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions rbenv-commands.md
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,7 @@
    ##I got tired of looking this up so decided to just make a quick reference.
    ### I got tired of looking this up so decided to just make a quick reference.

    ##Please note these commands are being used in bash running on macOS
    ## rbenv & rubybuild installed with homebrew
    ### Please note these commands are being used in bash running on macOS
    ### rbenv & rubybuild installed with homebrew

    ## Upgrade list of ruby versions
    `brew upgrade rbenv ruby-build`
  2. titanium-cranium created this gist Aug 16, 2019.
    24 changes: 24 additions & 0 deletions rbenv-commands.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,24 @@
    ##I got tired of looking this up so decided to just make a quick reference.

    ##Please note these commands are being used in bash running on macOS
    ## rbenv & rubybuild installed with homebrew

    ## Upgrade list of ruby versions
    `brew upgrade rbenv ruby-build`

    ## List all available versions
    `rbenv install -l`

    ## List all installed versions
    `rbenv versions`

    ## Install ruby version
    `rbenv install X.Y.Z`

    ## Set ruby version in local directory
    `rbenv local X.Y.Z`

    ## Set global ruby version
    `rbenv global X.Y.Z`