I wonder if you've got an older version of rbenv installed, that doesn't have
fish shell support yet. That support is pretty new.
What does `rbenv init -` output? How about if you run it as `./bin/rbenv init -
fish`? What we're looking for is whether it shows bash-style output (export...)
or fish-style (setenv...)
> On Nov 19, 2014, at 10:35 AM, Ryan Burnett <ryanjburn...@gmail.com> wrote:
>
> Hi corydoras!
>
> which rbenv
> /usr/local/bin/rbenv
>
> (The same path is returned whether or not I have "rbenv init - | source" in
> my config.fish file).
>
> echo $PATH
> /usr/local/bin /Users/burnettr/.node/bin /usr/bin /bin /usr/sbin /sbin
> /usr/local/git/bin
>
> Note that I used this config.fish command to move Homebrew's /usr/local/bin
> to the beginning of the $PATH
> (https://github.com/fish-shell/fish-shell/issues/1099
> <https://github.com/fish-shell/fish-shell/issues/1099>).
>
> set -e PATH[(contains -i /usr/local/bin $PATH)] ^/dev/null; set PATH
> /usr/local/bin $PATH
>
> Does that help?
>
> Thank you - fish rocks!
>
> On Wed, Nov 19, 2014 at 1:12 PM, ridiculous_fish
> <corydo...@ridiculousfish.com <mailto:corydo...@ridiculousfish.com>> wrote:
> Hi Ryan,
>
> The top of the error message was cut off, but it looks like rbenv is not
> being found. What does `which rbenv` output, and what's in $PATH?
>
>> On Nov 18, 2014, at 10:56 AM, Ryan Burnett <ryanjburn...@gmail.com
>> <mailto:ryanjburn...@gmail.com>> wrote:
>>
>> Hi fish fanatics,
>>
>> I'm using rbenv. Using the regular ol' Terminal I have to add this to my
>> .bash_profile:
>>
>> eval "$(rbenv init -)"
>>
>> I've added the equivalent command to my ~/.config/fish/config.fish file:
>>
>> rbenv init - | source
>>
>> This worked in fish 2.1, however, I'm running 2.1.1 now and receive this
>> error:
>>
>> /Users/burnettr/.config/fish/config.fish (line 18): rbenv init - | source
>> ^
>> in . (source) call of file '/Users/burnettr/.config/fish/config.fish',
>> called on standard input,
>>
>> How can I add this rbenv init command to my config.fish file?
>>
>> P.S. I'm running fish 2.1.1 and OS X 10.9.4.
>>
>> ------------------------------------------------------------------------------
>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
>> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
>> with Interactivity, Sharing, Native Excel Exports, App Integration & more
>> Get technology previously reserved for billion-dollar corporations, FREE
>> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk_______________________________________________
>>
>> <http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk_______________________________________________>
>> Fish-users mailing list
>> Fish-users@lists.sourceforge.net <mailto:Fish-users@lists.sourceforge.net>
>> https://lists.sourceforge.net/lists/listinfo/fish-users
>> <https://lists.sourceforge.net/lists/listinfo/fish-users>
>
>
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users