Philip Mak <pmak / animeglobe.com> writes:

> I think the problem is that people see code like this:
> 
> begin
> 	require 'somefile'
> rescue LoadError
> 	# do something
> end
> 
> and assume that if "# do something" is executed, then it means that
> 'somefile' did not exist or isn't readable.

I'm not sure that's a justified assumption -- all you really know is
that there was a problem loading the file.

You could always test separately to see if the file existed and was
readable.


Dave