lib/active_support/cache.rb in activesupport-3.0.1 vs lib/active_support/cache.rb in activesupport-3.0.2

- old
+ new

@@ -59,11 +59,11 @@ when Symbol store_class_name = store.to_s.camelize store_class = begin require "active_support/cache/#{store}" - rescue LoadError - raise "Could not find cache store adapter for #{store} (#{$!})" + rescue LoadError => e + raise "Could not find cache store adapter for #{store} (#{e})" else ActiveSupport::Cache.const_get(store_class_name) end store_class.new(*parameters) when nil