Here we use Homebrew to install rbenv:
brew update; and brew install rbenv ruby-build
- Add
~/.rbenv/shims
to your PATH - Include the contents of completions/rbenv.fish in your Fish config.
- Run
rbenv install 2.2.2
andrbenv rehash
- Run
rbenv global 2.2.2
Now you can run gem install bundler
and bundle install
within your Ruby project.
This comment has been minimized.
Step two can be made more explicit
set --universal fish_user_paths $fish_user_paths ~/.rbenv/shims