In attempting to use Bundler with ruby 1.9.3p194 managed with rbenv in the fish shell I receive the error:
> gem install bundler
Fetching: bundler-1.5.1.gem (100%)
> bundle install
fish: Unknown command 'bundle'
Rbenv is being initialized in config.fish
like so:
set -x PATH "$HOME/.rbenv/bin" $PATH
. (rbenv init - | psub)
And the output of rbenv init -
:
> rbenv init -
setenv RBENV_SHELL fish
. '/Users/nifl/.rbenv/libexec/../completions/rbenv.fish'
rbenv rehash 2>/dev/null
function rbenv
set command $argv[1]
set -e argv[1]
switch "$command"
case rehash shell
eval (rbenv "sh-$command" $argv)
case '*'
command rbenv "$command" $argv
end
end
I don't have fish set up as the default shell and Bundler is working fine in Bash.
Derp. Needed rehash after > gem install bundler
> rbenv rehash
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With