diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2011-11-02 13:08:35 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2011-11-02 13:08:35 -0400 |
commit | 59283a9c836054785799f4ae778c51960dead4de (patch) | |
tree | 76013a39c011c5fde2a26939b76cb6cd6d31d05d /.profile | |
parent | 1cc8de15a096b1ca22b6093d42f3b4dcae5c8990 (diff) |
Add $HOME/.prefix/lib to $RUBYLIB, if it exists
Diffstat (limited to '.profile')
-rw-r--r-- | .profile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -16,6 +16,12 @@ for dir in $bins; do fi done +for dir in $HOME/.prefix/lib; do + if [ -d "$dir" ]; then + export RUBYLIB="$dir" + fi +done + # if running bash if [ -n "$BASH_VERSION" ]; then # include .bashrc if it exists |