Skip to content

Instantly share code, notes, and snippets.

@igorvieira
Last active September 27, 2022 15:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save igorvieira/abfb13f2a2dc8b098d77777a6be41f52 to your computer and use it in GitHub Desktop.
Save igorvieira/abfb13f2a2dc8b098d77777a6be41f52 to your computer and use it in GitHub Desktop.
Set path for rbenv in your zsh on Ubuntu

zsh + Ruby(rbenv) on Ubuntu

If yout have problems for check ruby versions on your ubuntu + zsh, just put this in your terminal and set path for your rbenv

$ echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.zshenv
$ echo 'eval "$(rbenv init -)"' >> ~/.zshenv
$ echo 'source $HOME/.zshenv' >> ~/.zshrc
$ exec $SHELL

Thank you

@jhonatanpetronilho
Copy link

Thanks!!

@igorvieira
Copy link
Author

@jhonatanpetronilho you are welcome!✌🏼

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment