From: Steven Lumos Date: 2006-03-30T09:24:29+09:00 Subject: Re: Ruby Black Belt James Edward Gray II writes: > On Mar 28, 2006, at 3:08 PM, Dmitry Buzdin wrote: > >> Do You want to take part in the creation process of exam series, >> covering Ruby itself and RoR framework? > > Not really, but I doubt you want to hear that. ;) So, I better at > least point some things out. From your basic exam: [...] >> Ruby Environment (1 question) > >> Know that RUBYPATH contains a list of directories to look for >> included files. > > This variable is not set on my system, just FYI. And that's not what RUBYPATH does. That's what RUBYLIB does. [...] >> Understand the difference between require and load commands. > > This is not related to modules. > >> Know that it is not mandatory to include file extension in 'require/ >> load' directives. > > Again, nothing to do with modules. And furthermore: [/tmp/slumos]0% touch blah.rb [/tmp/slumos]0% irb irb(main):001:0> require 'blah' => true irb(main):002:0> load 'blah' LoadError: no such file to load -- blah from (irb):2:in `load' from (irb):2 irb(main):003:0> load 'blah.rb' => true >> Dynamic usage of load command. > > Again. > > James Edward Gray II Steve