From 9f2aec4ee67a606c2b7a97551359efdbd9c315cb Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 30 Sep 2010 12:22:25 -0400 Subject: [PATCH] Added Ruby (Gems) paths to _bashrc. --- _bashrc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/_bashrc b/_bashrc index ffc398d..ac752b1 100644 --- a/_bashrc +++ b/_bashrc @@ -7,7 +7,7 @@ if [ -f /etc/bashrc ]; then fi # personalize path -export PATH=$HOME/bin:$HOME/script:$HOME/script/python:$HOME/script/lab:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games +export PATH=$HOME/bin:$HOME/script:$HOME/script/python:$HOME/script/lab:$HOME/lib/ruby/gems/1.8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games export LD_LIBRARY_PATH=~/lib # personalize latex path @@ -20,6 +20,13 @@ export PYTHONPATH=".:$HOME/lib/python:$HOME/lib/python$PYTHON_VERSION/site-packa # append personal manpages to manpath export MANPATH=":$HOME/share/man" +# personalize ruby and rubygems paths +# from http://docs.rubygems.org/read/chapter/15 +PREFIX=$HOME +export GEM_HOME=$PREFIX/lib/ruby/gems/1.8 +export RUBYLIB=$PREFIX/lib/ruby:$PREFIX/lib/site_ruby/1.8 + + # If not running interactively, don't do anything else [ -z "$PS1" ] && return -- 2.26.2