On Sat, Apr 5, 2008 at 8:42 AM, Peter Fitzgibbons
<[EMAIL PROTECTED]> wrote:
> "Where Ruby finds its modules" gave me the answer.  I needed to set
> environment variable RUBYLIB
>
> export RUBYLIB=./lib:../lib

Instead of setting an environment variable before running the app, you
can modify the load path in your code with:
$:.unshift(*['./lib', '../lib'])

Pat
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to