• Jacob Vosmaer's avatar
    Move cache setup to config/application.rb · 185e7681
    Jacob Vosmaer authored
    Before this change we were trying to configure Rails.cache in an
    initializer. It seems that by the time the initializers are loaded,
    Rails.cache is already instantiated, so changing the settings does not
    achieve anything anymore. This was causing Rails to default to a file
    storage cache instead of the Redis cache, which in turn broke `rake
    cache:clear`.
    185e7681
Name
Last commit
Last update
..
environments Loading commit data...
initializers Loading commit data...
locales Loading commit data...
application.rb Loading commit data...
aws.yml.example Loading commit data...
boot.rb Loading commit data...
database.yml.mysql Loading commit data...
database.yml.postgresql Loading commit data...
environment.rb Loading commit data...
gitlab.teatro.yml Loading commit data...
gitlab.yml.example Loading commit data...
resque.yml.example Loading commit data...
routes.rb Loading commit data...
unicorn.rb.example Loading commit data...
unicorn.rb.example.development Loading commit data...