1
0
Fork 0
mirror of https://github.com/capistrano/capistrano synced 2023-03-27 23:21:18 -04:00

Merge pull request #1503 from bazzargh/patch-2

fix rescue for asset_manifest_prefix
This commit is contained in:
Lee Hambley 2015-10-02 10:16:56 +02:00
commit 5213ac609e

View file

@ -7,7 +7,7 @@ _cset :assets_prefix, "assets"
_cset :shared_assets_prefix, "assets"
_cset :assets_role, [:web]
_cset :expire_assets_after, (3600 * 24 * 7)
_cset :asset_manifest_prefix, (`sprockets -v`.chomp < "3.0" ? "manifest" : ".sprockets-manifest") rescue "manifest"
_cset(:asset_manifest_prefix) { (`sprockets -v`.chomp < "3.0" ? "manifest" : ".sprockets-manifest") rescue "manifest" }
_cset :normalize_asset_timestamps, false