--0-1990370616-11718364816696 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Alexey, >That is simply because IRB has already required 'readline' while it was >starting up. That makes sense. But why within irb, load 'readline' raises a LoadError ? I thought that load and require are equivalent except that load always load the file. CM. Alexey Verkhovsky <alex / verk.info> wrote: Curt Hibbs wrote: > I'm just wondering also why >> ruby -e "r equire 'readline'; puts r" >> returns true >> >> while the same code within IRB displays false. That is simply because IRB has already required 'readline' while it was starting up. AV --------------------------------- The fish are biting. Get more visitors on your site using Yahoo! Search Marketing. --0-1990370616-11718364816696--