add Gem.user_dir to PATH (for using RubyGems)
authorAmin Bandali <me@aminb.org>
Wed, 29 Oct 2014 02:30:44 +0000 (22:30 -0400)
committerAmin Bandali <me@aminb.org>
Wed, 29 Oct 2014 02:30:44 +0000 (22:30 -0400)
zsh/.zshrc.local

index 5641d58..496f94b 100644 (file)
@@ -4,6 +4,7 @@ BASE16_SHELL="$HOME/.theme/base16-$BASE16_SCHEME.dark.sh"
 [[ -s $BASE16_SHELL ]] && . $BASE16_SHELL
 
 PATH="$HOME/.local/bin:$PATH"
+PATH="`ruby -e 'print Gem.user_dir'`/bin:$PATH"
 
 # take
 function take() {