use-custom-ruby-macOS.profile
· 154 B · Text
Исходник
# add to .zshrc
if [ -d "/usr/local/opt/ruby/bin" ]; then
export PATH=/usr/local/opt/ruby/bin:$PATH
export PATH=`gem environment gemdir`/bin:$PATH
fi
| 1 | # add to .zshrc |
| 2 | |
| 3 | if [ -d "/usr/local/opt/ruby/bin" ]; then |
| 4 | export PATH=/usr/local/opt/ruby/bin:$PATH |
| 5 | export PATH=`gem environment gemdir`/bin:$PATH |
| 6 | fi |