Created
December 23, 2017 11:47
-
-
Save yashvekaria/99489a4839a79815ad12fa4cae3f609b to your computer and use it in GitHub Desktop.
zsh: command not found: rbenv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
If you just switched from bash to zsh and have issues with rbenv and gem, then you should move rbenv initialization to ~/.zshenv | |
$ echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.zshenv | |
$ echo 'eval "$(rbenv init -)"' >> ~/.zshenv | |
$ echo 'source $HOME/.zshenv' >> ~/.zshrc | |
$ exec $SHELL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment