Sfoglia il codice sorgente

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

master
Adrian Short 11 anni fa
parent
commit
ff152512c0
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. +3
    -0
      config/application.rb

+ 3
- 0
config/application.rb Vedi File

@@ -65,6 +65,9 @@ module Apollo
# Enable the asset pipeline
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
config.assets.version = '1.1'


Caricamento…
Annulla
Salva