浏览代码

Add missing require for active_support/cache

https://github.com/rails/rails/pull/14667
Thibaut 11 年之前
父节点
当前提交
07134dd144
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      lib/app.rb

+ 1 - 0
lib/app.rb

@@ -40,6 +40,7 @@ class App < Sinatra::Application
   configure :development do
     register Sinatra::Reloader
 
+    require 'active_support/per_thread_registry'
     require 'active_support/cache'
     sprockets.cache = ActiveSupport::Cache.lookup_store :file_store, root.join('tmp', 'cache', 'assets')