From: Thomas Adam Date: 2004-03-21T18:47:00+09:00 Subject: Re: rubygems - did install went ok? --- Jason Creighton wrote: > I think that you have to do > > require 'rubygems' > require_gem 'iterator' That is how I did it (tm) [..snip..] > [1] The more messing around we do with $LOAD_PATH, the more (IMHO) it > looks like it would be nice to have a system-wide "init.rb" that was > required automatically when Ruby starts. The default init.rb could look > something like this: This is a good idea and something that I thought about doing in the past. At present there is a workaround for it, but as you say Jason, it is only on a per-user basis. > export RUBYOPT="-r$HOME/prog/ruby/init" Oh well. Come what may, we shall see. -- Thomas Adam ===== "The Linux Weekend Mechanic" -- http://linuxgazette.net "TAG Editor" -- http://linuxgazette.net " We'll just save up your sins, Thomas, and punish you for all of them at once when you get better. The experience will probably kill you. :)" -- Benjamin A. Okopnik (Linux Gazette Technical Editor) ___________________________________________________________ Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now http://uk.messenger.yahoo.com/download/index.html