On Fri, 11 Nov 2005, Michael Kohl wrote:

> On Fri, 11 Nov 2005 16:51:33 +0900
> David Brady <ruby_talk / shinybit.com> wrote:
>
>> How do I configure Ruby or my (linux) server so that, server wide, it
>> looks in ubygems for modules automatically?
>
> I export it from my .bashrc, works like a charm:
>
> export RUBYOPT="rubygems"
>
> While you're there, you can also add the following for nicer ri output:
>
> export RI="--format ansi -T --width 70"

this will bite you if you aren't careful.  your bashrc is not sourced under
cron, when running remote ssh commands, etc.  fyi.

-a
-- 
===============================================================================
| ara [dot] t [dot] howard [at] gmail [dot] com
| all happiness comes from the desire for others to be happy.  all misery
| comes from the desire for oneself to be happy.
| -- bodhicaryavatara
===============================================================================