From: "ara.t.howard" Date: 2007-08-21T02:20:11+09:00 Subject: Re: Current rubygems require idiom On Aug 20, 2007, at 5:30 AM, Bil Kleb wrote: > Hi, > > I currently have, > > begin > require 'funit' > rescue LoadError > require 'rubygems' > require 'funit' > end > > What /should/ I be using? > > Thanks, > -- > Bil Kleb > http://nasarb.rubyforge.org > i personally use begin require 'rubygems' rescue LoadError 42 end require 'a' require 'b' require 'c' require 'd' as it's quite a bit drier and easier to comment out the rubygems when you want to test a 'normal' or otherwise non-rubygems install. kind regards. a @ http://drawohara.com/ -- we can deny everything, except that we have the possibility of being better. simply reflect on that. h.h. the 14th dalai lama