Browse Source

Add the RubyGems bin directory to PATH on other Unix systems

Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
master
Sebastian Wiesner 11 years ago committed by Sorin Ionescu
parent
commit
0c9c099ac3
  1. 3
      modules/ruby/init.zsh

3
modules/ruby/init.zsh

@ -28,6 +28,8 @@ else @@ -28,6 +28,8 @@ else
if [[ "$OSTYPE" == darwin* ]]; then
export GEM_HOME="$HOME/Library/Ruby/Gems/1.8"
path=("$GEM_HOME/bin" $path)
else
path=($HOME/.gem/ruby/*/bin(N) $path)
fi
fi
@ -58,4 +60,3 @@ if (( $+commands[bundle] )); then @@ -58,4 +60,3 @@ if (( $+commands[bundle] )); then
&& print vendor/bundle >>! .gitignore \
&& print vendor/cache >>! .gitignore'
fi

Loading…
Cancel
Save