From: Brian Candler Date: 2003-06-23T03:51:23+09:00 Subject: Re: require xyz: How to set search path? URI-like ability? On Sun, Jun 22, 2003 at 08:47:39PM +0900, Tim Hunter wrote: > On Sat, 21 Jun 2003 23:36:12 +0000, Its Me wrote: > > > Great, thanks. > > > > But other than typing it into irb, where do I put this? I'm on Windows, > > and could not find any ini files or environment variables. Something > > that Ruby consults each time it runs. $ grep irbrc /usr/local/lib/ruby/1.6/irb/* /usr/local/lib/ruby/1.6/irb/init.rb: rcs.push File.expand_path("~/.irbrc") if ENV.key?("HOME") /usr/local/lib/ruby/1.6/irb/init.rb: rcs.push ".irbrc" /usr/local/lib/ruby/1.6/irb/init.rb: rcs.push "_irbrc" /usr/local/lib/ruby/1.6/irb/init.rb: rcs.push "$irbrc" Regards, Brian.