Closed chubchenko closed 1 year ago
@chubchenko - that is exactly what I did, even with cap doctor
saying :keep_assets
isn't a recognized command, it does still have an effect during the deploy.
I just went with this in my deploy.rb
:
set :keep_assets, -> { fetch(:keep_releases, 5) }
@JasonPoll Thank you! I did similar to what you suggested, but my point was that after you assign a value for "keep assets" it will still display it as not recognized.
Need to assign a default value, then Capistrano will recognize it.
First of all thanks for your work :tada:
What do u think about specifying a default value for a
keep_assets
value based on thekeep_releases
value?I'm wondering about it because I have performed a
cap doctor
and thekeep_assets
setting wasn't recognized by Capistrano 😞