This commit is contained in:
Artem Chernikov 2014-08-01 11:50:37 +00:00
commit 6b77dd0bbe
6 changed files with 23 additions and 16 deletions

View file

@ -1,6 +1,4 @@
require 'rubygems'
require 'yaml'
YAML::ENGINE.yamler = 'syck'
# Set up gems listed in the Gemfile.
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)

View file

@ -1,4 +1,4 @@
Osem::Application.configure do
Rails.application.configure do
# Settings specified here will take precedence over those in config/application.rb
# Code is not reloaded between requests
@ -16,8 +16,8 @@ Osem::Application.configure do
# Disable Rails's static asset server (Apache or nginx will already do this)
config.serve_static_assets = false
# Compress JavaScripts and CSS
config.assets.compress = true
# Compress JavaScripts
config.assets.js_compressor = :uglifier
# Don't fallback to assets pipeline if a precompiled asset is missed
config.assets.compile = false