From: Francis Hwang Date: 2005-11-02T11:05:14+09:00 Subject: -r using Kernel.require instead of rb_require() ? Hi, I asked about this on ruby-talk yesterday: It appears that the -r command-line switch calls rb_require() directly instead of Kernel.require. Thus making it impossible for libraries to modify how requiring might work, so things like ruby -rubygems -rlog4r -r "puts 'blah blah'" won't work if log4r is only installed as a Gem ... Is there any solid reason -r should use rb_require() instead of Kernel.require? I'm thinking of submitting this as an RCR but it's quite possible I'm missing some big issue. Francis Hwang http://fhwang.net/