On Mar 14, 2008, at 17:24 PM, Chad Woolley wrote: > On Fri, Mar 14, 2008 at 6:33 AM, Eric Hodel <[EMAIL PROTECTED]> > wrote: >> I suppose instead an appropriate exception could be raised. Please >> >> take a shot at it. > > Yes, an exceptions seems the right way to handle it, I realized that > today. > > So, to confirm, I would make something like a custom > Gem::ExitException, and catch/handle that in the 'gem' executable. > Sound right? If there is a different exception you'd like me to use, > either a standard one or one already in rubygems, let me know.
I think that would be fine, make it a subclass of Gem::Exception, and add an exit_code field to it. _______________________________________________ Rubygems-developers mailing list [email protected] http://rubyforge.org/mailman/listinfo/rubygems-developers
