lib/rack/pagespeed/config.rb in rack-pagespeed-1.0.6 vs lib/rack/pagespeed/config.rb in rack-pagespeed-1.0.7
- old
+ new
@@ -70,10 +70,10 @@
def load_storage type, *args
klass = type.to_s.capitalize
unless Rack::PageSpeed::Store.const_defined? klass
lib = ::File.join(::File.dirname(__FILE__), 'store', type.to_s)
- load lib
+ require lib
end
Rack::PageSpeed::Store.const_get(klass).new *args
end
end
\ No newline at end of file