Use a fixed name for the asset manifest
Because we deploy by updating an existing environment the default sprockets strategy gives us multiple randomly named manifest files and it will then pick one arbitrarily when starting up.
This commit is contained in:
parent
785bf2bfe1
commit
84170254e4
1 changed files with 3 additions and 0 deletions
|
@ -3,6 +3,9 @@
|
|||
# Version of your assets, change this if you want to expire all your assets.
|
||||
Rails.application.config.assets.version = "1.0"
|
||||
|
||||
# Location of manifest file.
|
||||
Rails.application.config.assets.manifest = Rails.root.join("tmp/manifest.json")
|
||||
|
||||
# Add additional assets to the asset load path
|
||||
# Rails.application.config.assets.paths << Emoji.images_path
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue