jfj4rg
Last Updated: February 25, 2016
·
3.133K
· rahult
E0123a4b0c419afa026675034b58b648

Getting fish, rbenv & homebrew playing nice together

Installing fish shell

brew install fish

Adding homebrew and rbenv to fish configuration file ~/.config/fish/config.fish

### PATH ###
set default_path /usr/bin /usr/sbin /bin /sbin
set homebrew /usr/local/bin /usr/local/sbin
set brew_rbenv "/usr/local/var/rbenv/shims"
set -gx PATH $homebrew $brew_rbenv $default_path

### Ruby (rbenv) ###
set -gx RBENV_ROOT /usr/local/var/rbenv

Reload the configuration and voilà

Picture

Say Thanks
Respond

4 Responses
Add your response

13531
04f4befc9339d9ef005de0a327382866

This worked for me. Thanks : )

over 1 year ago ·
13538
E0123a4b0c419afa026675034b58b648

Glad I can help @alanandrade

over 1 year ago ·
14993
36ab9b9ec7bae437ffb5063d0f070f4a

typo in heading: nice toge'ht'er

over 1 year ago ·
14994
E0123a4b0c419afa026675034b58b648

Thanks @shaneholloman, I have updated the title

over 1 year ago ·
Filed Under

Awesome Job

D591c606 4ca0 11e7 9f4d aa94ae9f338f
Staff Frontend Engineer
·
Remote! or San Francisco, CA
·
Full Time