diff options
Diffstat (limited to 'lib/mongrel/command.rb')
-rw-r--r-- | lib/mongrel/command.rb | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/mongrel/command.rb b/lib/mongrel/command.rb index 3a67d56..64d2509 100644 --- a/lib/mongrel/command.rb +++ b/lib/mongrel/command.rb @@ -4,10 +4,14 @@ # Additional work donated by contributors. See http://mongrel.rubyforge.org/attributions.html # for more information. -require 'rubygems' require 'singleton' require 'optparse' -require 'gem_plugin' + +begin + require 'gem_plugin' +rescue LoadError + require 'rubygems' and retry +end module Mongrel |