--- lib/irb/init.rb.orig 2007-10-23 17:43:49.000000000 +0200 +++ lib/irb/init.rb 2007-10-23 17:43:03.000000000 +0200 @@ -243,6 +243,9 @@ yield proc{|rc| home+"/irb#{rc.sub(/\A_?/, '.')}"} yield proc{|rc| home+"/_irb#{rc}"} yield proc{|rc| home+"/$irb#{rc}"} + unless RUBY_PLATFORM =~ /mswin32|cygwin|mingw|bccwin/ + yield proc{|rc| "/etc/irb#{rc}"} + end end # loading modules