From: W. Trevor King Date: Thu, 30 Sep 2010 16:22:25 +0000 (-0400) Subject: Added Ruby (Gems) paths to _bashrc. X-Git-Tag: v0.3~69 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9f2aec4ee67a606c2b7a97551359efdbd9c315cb;p=dotfiles-framework.git Added Ruby (Gems) paths to _bashrc. --- 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