Sha256: 576cb4ae9d9336fd26bb4e32ad2d539534c3b0a303ec5b7ad49bae5c0593d778
Contents?: true
Size: 970 Bytes
Versions: 24
Compression:
Stored size: 970 Bytes
Contents
require_relative 'boot' require 'rails/all' # Require the gems listed in Gemfile, including any gems # you've limited to :test, :development, or :production. Bundler.require(*Rails.groups) module CosmosDart class Application < Rails::Application # Settings in config/environments/* take precedence over those specified here. # Application configuration should go into files in config/initializers # -- all .rb files in that directory are automatically loaded. config.cache_store = :file_store, File.join(Cosmos::System.paths['TMP'], 'cache') config.assets.cache_store = :file_store, File.join(Cosmos::System.paths['TMP'], 'assets') config.sass.cache = false config.assets.cache_limit = 50.megabytes config.assets.configure do |env| env.cache = Sprockets::Cache::FileStore.new( File.join(Cosmos::System.paths['TMP'], 'cache', 'assets'), config.assets.cache_limit, env.logger ) end end end
Version data entries
24 entries across 24 versions & 1 rubygems