When I try to use the Bundler with ruby 1.9.3p194 managed with rbenv in a fish shell, I get an error:
> gem install bundler
Fetching: bundler-1.5.1.gem (100%)
> bundle install
fish: Unknown command 'bundle'
Rbenv is initialized config.fishas follows:
set -x PATH "$HOME/.rbenv/bin" $PATH
. (rbenv init - | psub)
And the conclusion 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 installed as the default shell, and the Bundler works fine in Bash.
source
share