From 59283a9c836054785799f4ae778c51960dead4de Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Wed, 2 Nov 2011 13:08:35 -0400 Subject: Add $HOME/.prefix/lib to $RUBYLIB, if it exists --- .profile | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- cgit v1.1-4-g5e80