Browse Source

Don't precompile pipeline assets (fix for Heroku Cedar)

master
Adrian Short 11 years ago
parent
commit
ff152512c0
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      config/application.rb

+ 3
- 0
config/application.rb View File

@@ -65,6 +65,9 @@ module Apollo
# Enable the asset pipeline # Enable the asset pipeline
config.assets.enabled = true config.assets.enabled = true


# https://devcenter.heroku.com/articles/rails-asset-pipeline#troubleshooting
config.assets.initialize_on_precompile = false # Fix for Heroku Cedar

# Version of your assets, change this if you want to expire all your assets # Version of your assets, change this if you want to expire all your assets
config.assets.version = '1.1' config.assets.version = '1.1'


Loading…
Cancel
Save