diff options
author | Ryan Kavanagh <rak@debian.org> | 2018-03-28 12:14:03 -0400 |
---|---|---|
committer | Ryan Kavanagh <rak@debian.org> | 2018-03-28 12:14:03 -0400 |
commit | 9f108f4b7cbacf1ab05c2f4d885e4cc3eb522b55 (patch) | |
tree | 0c242f2eba1d851054a3b65f030523ae1e6ec33d | |
parent | Customize trackball (diff) |
Set GEM_BIN programattically in zshrc
Diffstat (limited to '')
-rw-r--r-- | .zshrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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/" |