Created
December 19, 2011 10:44
-
-
Save unakatsuo/1496579 to your computer and use it in GitHub Desktop.
rbenv init section in .bashrc/.bash_profile.
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
[[ -d "$HOME/.rbenv/bin" ]] && { | |
export PATH="$HOME/.rbenv/bin:$PATH" | |
eval "$(rbenv init -)" | |
function rbsudo(){ | |
sudo env - "PATH=$(rbenv root)/shims:$PATH" $* | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment