I've just had a nightmare getting rbenv to load Ruby v 2.3.0. I've finally got it to show after adding 'eval "$(rbenv init -)"'to my .zshrc file. However, now I'm getting the note above at the top of my terminal when I relaunch. Any ideas why this would show and how I can amend?
Asked
Active
Viewed 3,479 times
3
-
1What does "the note" say? I have exactly the same line in my `.zshrc` and don't really recall it being a nightmare, rather a mundane documentation-following. – Mike Szyndel Jan 22 '16 at 16:56
-
3It wasn't the .zshrc file that was the issue it was the same line in the .zshenv which I've now deleted and the line has gone. It was showing at the top of my terminal when I launched it. – Mike.Whitehead Jan 29 '16 at 09:33
-
So is it solved or is there still a problem? – Mike Szyndel Jan 29 '16 at 09:49
-
It's solved as far as I can see. – Mike.Whitehead Jan 29 '16 at 17:28
1 Answers
1
Stumbled upon this while debugging an issue, just clarifying for future interweb travelers.
Edit your ~/.zshrc
file and add this:
eval "$(rbenv init -)"
Restart your terminal.
Here are some helpful links

Jonathan
- 648
- 4
- 13
- 34