Permalink
Browse files

change jruby gem path

  • Loading branch information...
1 parent 89bc910 commit d1337a8633efe77120c398ae0962a5d60a2c902d @fkfk committed Mar 25, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 .zsh/specific/jruby.zshrc
@@ -1,4 +1,4 @@
_LOADED_SPECIFIC_JRUBY=1
if [ "`jgem -v 2> /dev/null`" ];then
- export PATH=$PATH:`jgem env gempath`
+ export PATH=$PATH:`jruby -rubygems -e "puts Gem.path.map{|path| \"#{path}/bin\"}.join(':')"`
fi

0 comments on commit d1337a8

Please sign in to comment.