At Mon, 7 Jan 2002 12:38:12 +0900,
Jack Dempsey <dabigdemp / hotmail.com> wrote:
> but this doesn't
> 
> require 'blahblah' rescue print "No such file!\n"

The modifier catches only StandardError and its subclasses.

  $ ruby -e 'p LoadError < StandardError'
  false

You need to specify LoadError explicitly.

  begin
    require 'blahblah'
  rescue LoadError
    print "No such file!\n"
  end

-- 
Nobu Nakada