From 9f108f4b7cbacf1ab05c2f4d885e4cc3eb522b55 Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Wed, 28 Mar 2018 12:14:03 -0400 Subject: Set GEM_BIN programattically in zshrc --- .zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.zshrc') 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/" -- cgit v1.2.3