summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2011-11-02 13:08:35 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2011-11-02 13:08:35 -0400
commit59283a9c836054785799f4ae778c51960dead4de (patch)
tree76013a39c011c5fde2a26939b76cb6cd6d31d05d
parent1cc8de15a096b1ca22b6093d42f3b4dcae5c8990 (diff)
Add $HOME/.prefix/lib to $RUBYLIB, if it exists
-rw-r--r--.profile6
1 files changed, 6 insertions, 0 deletions
diff --git a/.profile b/.profile
index a6704af..6e42583 100644
--- a/.profile
+++ b/.profile
@@ -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