Skip to content

Commit

Permalink
Add the RubyGems bin directory to PATH on other Unix systems
Browse files Browse the repository at this point in the history
Signed-off-by: Sorin Ionescu <[email protected]>
  • Loading branch information
swsnr authored and zeroasterisk committed Oct 22, 2013
1 parent cac5ee4 commit ffc5e1f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/ruby/init.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -58,4 +60,3 @@ if (( $+commands[bundle] )); then
&& print vendor/bundle >>! .gitignore \
&& print vendor/cache >>! .gitignore'
fi

0 comments on commit ffc5e1f

Please sign in to comment.