Subject: Re: adding load_path
	Date: Mon 19 Nov 12 11:08:46AM +0900

Quoting Grant Schoep (lists / ruby-forum.com):

> Best way to do this is add them at execute time with $LOAD_PATH

You can also include the libraries in the RUBYLIB shell variable. The
content of RUBYLIB is prepended to the default list of paths:

$ export RUBYLIB=/a/b:/c/d/e:/f/g/h/i
$ irb
irb(main):001:0> $LOAD_PATH
=> ["/a/b", "/c/d/e", "/f/g/h/i", "/usr/local/lib/ruby/site_ruby/2.0.0", "/usr/local/lib/ruby/site_ruby/2.0.0/x86_64-linux", "/usr/local/lib/ruby/site_ruby", "/usr/local/lib/ruby/vendor_ruby/2.0.0", "/usr/local/lib/ruby/vendor_ruby/2.0.0/x86_64-linux", "/usr/local/lib/ruby/vendor_ruby", "/usr/local/lib/ruby/2.0.0", "/usr/local/lib/ruby/2.0.0/x86_64-linux"]
irb(main):002:0> 

If you want all your system's users to use special paths, you can add your
export command in the /etc/profile system file.

Carlo

-- 
  *         Se la Strada e la sua Virtu' non fossero state messe da parte,
* K * Carlo E. Prelz - fluido / fluido.as             che bisogno ci sarebbe
  *               di parlare tanto di amore e di rettitudine? (Chuang-Tzu)