Browse Source

Add missing require for active_support/cache

https://github.com/rails/rails/pull/14667
Thibaut 11 years ago
parent
commit
07134dd144
1 changed files with 1 additions and 0 deletions
  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')