RE: [Rails] rescueing require

<snip>

A rescue clause without an explicit error class defaults to StandardError. A failed require raises a LoadError, which is not a subclass of StandardError. Change 'rescue' to 'rescue LoadError' and it should work as expected.

Regards,

Dan

This communication is the property of Qwest and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.