Sha256: 0ac9c27c1768910d9cbaa4f8b6cb8c02ea81d5352c1154ba032cd9444e2adec6
Contents?: true
Size: 629 Bytes
Versions: 25
Compression:
Stored size: 629 Bytes
Contents
module Mongrel module Gems class << self def require(library, version = nil) begin Kernel.require library rescue LoadError, RuntimeError => e begin # ActiveSupport breaks 'require' by making it always return a true value Kernel.require 'rubygems' version ? gem(library, version) : gem(library) retry rescue Gem::LoadError, LoadError, RuntimeError # puts "** #{library.inspect} could not be loaded" unless library == "mongrel_experimental" end end end end end end
Version data entries
25 entries across 25 versions & 7 rubygems