From: Jeff Moore Date: 2008-11-06T09:18:52+09:00 Subject: Re: Newbie question: Where to put library .rb files? Kenneth McDonald wrote: > At our site, newly started using Ruby, we're now starting to get code > we'd like to make generally available via 'require'. What is the > standard location/method for doing this? Can it be done in such a > manner that rdoc and ri documentation is made available to the site, > preferably integrated with the rest of the ruby docs on this site? > > Thanks, > Ken McDonald To see what your current config is set to cut-n-paste this into irb: puts "ruby load directories" puts $:.each do |e| puts e end Since I work across a variety of platforms, I prefer to set the RUBYLIB environment variable on each of my systems to a directory of my choosing. This directory is added to load paths in $: -- Posted via http://www.ruby-forum.com/.