Fixing chrubby paths

master
Dustin Swan 12 years ago
parent 3918e60746
commit 431b96aa1d

12
zshrc

@ -33,10 +33,12 @@ export PATH=/usr/local/share/npm/bin:$PATH # npm
export NODE_PATH=/usr/local/lib/node export NODE_PATH=/usr/local/lib/node
# Chruby # Chruby
source '/usr/local/share/chruby/chruby.sh' if [[ -e /usr/local/share/chruby ]]; then
source '/usr/local/share/chruby/auto.sh' source '/usr/local/share/chruby/chruby.sh'
source '/usr/local/share/chruby/auto.sh'
fi
if [[ -e /usr/share/chruby ]]; then if [[ -e /usr/share/chruby ]]; then
source /usr/local/share/chruby/chruby.sh source /usr/share/chruby/chruby.sh
source /usr/local/share/chruby/auto.sh source /usr/share/chruby/auto.sh
chruby $(cat ~/.ruby-version)
fi fi
chruby $(cat ~/.ruby-version)

Loading…
Cancel
Save