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 sorin-ionescu committed May 23, 2013
1 parent baf7f61 commit 0c9c099
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 0c9c099

Please sign in to comment.