Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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.

@tamlyn

This comment has been minimized.

Copy link

commented Sep 14, 2017

Step two can be made more explicit set --universal fish_user_paths $fish_user_paths ~/.rbenv/shims

@KarinaBauer

This comment has been minimized.

Copy link

commented Sep 19, 2017

+1 for @tamlyn

@ihomway

This comment has been minimized.

Copy link

commented Oct 8, 2019

+1 for @tamlyn

@mesqueeb

This comment has been minimized.

Copy link

commented Oct 17, 2019

@tamlyn @pwenzel how do I

Include the contents of completions/rbenv.fish in your Fish config.

?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.