Sha256: c829d4854abc4465024279b4112530d240561574eda04f4eb1920124f8b59dc4
Contents?: true
Size: 918 Bytes
Versions: 6
Compression:
Stored size: 918 Bytes
Contents
require File.expand_path('../boot', __FILE__) require 'rails' %w( action_controller action_view sprockets ).each do |framework| require "#{framework}/railtie" end require 'autoprefixer-rails' require 'compass' require 'slim-rails' require 'uglifier' require 'bootstrap' require 'jquery-rails' require 'rails-assets-tether' module Dummy class Application < Rails::Application config.assets.enabled = true if config.assets.respond_to?(:enabled) if Rails::VERSION::MAJOR > 4 # Rails 4 precompiles application.css|js by default, but future version of Rails do not. config.assets.precompile += %w( application.css application.js ) end config.to_prepare do if ENV['VERBOSE'] STDERR.puts "Loaded Rails #{Rails::VERSION::STRING}, Sprockets #{Sprockets::VERSION}", "Asset paths: #{Rails.application.config.assets.paths}" end end end end
Version data entries
6 entries across 6 versions & 1 rubygems