Skip to content

Instantly share code, notes, and snippets.

@pwenzel
Last active September 13, 2022 01:50
Show Gist options
  • Save pwenzel/59502558b27c14a20030 to your computer and use it in GitHub Desktop.
Save pwenzel/59502558b27c14a20030 to your computer and use it in GitHub Desktop.
Installing rbenv in a fish environment

Here we use Homebrew to install rbenv:

  1. brew update; and brew install rbenv ruby-build
  2. Add ~/.rbenv/shims to your PATH
  3. Include the contents of completions/rbenv.fish in your Fish config.
  4. Run rbenv install 2.2.2 and rbenv rehash
  5. Run rbenv global 2.2.2

Now you can run gem install bundler and bundle install within your Ruby project.

@nicky1525
Copy link

+1 for @tamlyn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment