aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.zshrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.zshrc b/.zshrc
index b81cdf8..aa34798 100644
--- a/.zshrc
+++ b/.zshrc
@@ -51,7 +51,7 @@ export BZR_EMAIL="$NAME <$EMAIL>" # Override email for Bazaar.
export GIT_AUTHOR_NAME=$NAME
export DARCS_EMAIL="$NAME <$EMAIL>"
export QUILT_PATCHES=debian/patches
-export GEM_BIN="${HOME}/.gem/ruby/2.3.0/bin"
+export GEM_BIN="$(gem environment gempath | cut -d':' -f1)/bin"
export PATH=${HOME}/bin:/usr/sbin:/sbin:$PATH:${GEM_BIN}:${HOME}/.local/bin/
export CCACHE_DIR=/ccache
#export HTTP_PROXY="http://localhost:3128/"