On Aug 20, 2007, at 04:30, Bil Kleb wrote:
> I currently have,
>
>  begin
>    require 'funit'
>  rescue LoadError
>    require 'rubygems'
>    require 'funit'
>  end
>
> What /should/ I be using?

This is correct and will work.

As a RubyGems maintainer I recommend:

begin
   require 'rubygems'
rescue LoadError
end

require 'funit'

--
Poor workers blame their tools. Good workers build better tools. The
best workers get their tools to do the work for them. -- Syndicate Wars