From: Hal Fulton Date: 2005-03-27T15:12:35+09:00 Subject: Re: Fox vs Fox12 Peter C wrote: > [snip] > However, this doesn't work -> LoadError: No such file to load -- fox. > How can I overcome this problem. require returns true if successful and false if already loaded. If a file is not found, it raises an exception. Something like this? begin require 'fox' require 'fox/colors' rescue begin require 'fox12' require 'fox12/colors' rescue puts "Oops..." end end include Fox I don't recall nesting begin/end that way before, but it should work... someone see a better way? Hal