New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rbenv shell command not found #459
Comments
How did you set up rbenv? Did you follow instructions from the official README? Do you have this line in your
|
Since I use fish shell I set this in the config (as written in the issue #195 ):
Reading better the issue 195 it is a known bug, isn't it? This comment says so |
Here there is a patch which makes |
Disregard the Coderwall tips. rbenv now supports fish shell in the master version. Upgrade to the latest version:
Then, in your
|
Thank you! it solves the issue. I added it to the wiki https://github.com/sstephenson/rbenv/wiki/Unix-shell-initialization , if you want you can check if it is in the right place |
That wiki page is about shell in general and is not a good place to add rbenv-specific documentation. I reverted your change. Don't worry about adding this documentation for now; I'll see that it's added to our README. |
Ok, no problem. Thank you again |
If I add '. (rbenv init -|psub)' to config.fish I get a lot of errors when loading a new shell instance. Just adding 'rbenv init -|psub' works but I am unable to use 'rbenv shell'. Using v.0.4.0 through homebrew. |
@espen Can you update to latest head and try again? |
Yeah just figured out that the brew package v.0.4.0 was not the same as v.0.4.0 in master. Works great. Thanks :D |
i end up with
ideas? |
@kitofr You seem like you have another kind of issue. What is the output of |
Oh, sorry for not posting the necessaries earlier; quite new to fish and rbenv.
|
@kitofr try |
same thing unfortunately :( |
@kitofr You said you installed
That line only applies if you've installed rbenv directly to Alternatively, if you want to keep your installation from git in |
Still no luck :(... i'll peek in the code and see if I can spot anything. I suppose it's something odd with my environment. Thanks for all the help. |
You can open a new issue, since your problem is unrelated to the original issue here. Include the following information:
|
Hey! I've opened a new issue here: Cheers and thanx for all the help, On Wed, Jan 29, 2014 at 3:01 PM, Mislav Marohnić
Cheers, |
I solved it in ubuntu by installing coreutils again |
Describe for Fish shell in details, prevent issues like rbenv#195 and rbenv#459. Reference: https://fishshell.com/docs/2.7/tutorial.html#tut_path
Describe for Fish shell in details, prevent issues like rbenv#195 and rbenv#459. Reference: https://fishshell.com/docs/2.7/tutorial.html#tut_path
Environment:
When I execute
rbenv shell jruby-1.7.4
rbenv outputsrbenv: no such command `shell'
and the ruby environment doesn't change.In order to mitigate this issue I'm using this:
The text was updated successfully, but these errors were encountered: