Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default :keep_assets to nil to eliminate cap-doctor warning. #263

Merged

Conversation

JasonPoll
Copy link
Contributor

Summary

First mentioned in #251, then once again in #262, when setting a value for :keep_assets, cap doctor will emit a warning:

# deploy.rb
set :keep_assets, -> { fetch(:keep_releases, 5) }
cap staging doctor 
# ...
# ....snipped for brevity
    :keep_assets is not a recognized Capistrano setting (/Users/jason.poll/.rbenv/versions/3.1.2/lib/ruby/3.1.0/delegate.rb:87)

Using:

  • ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [arm64-darwin21]
  • capistrano (3.17.3)
  • capistrano-rails (1.6.2)

@mattbrictson mattbrictson added the 🐛 Bug Fix Fixes a bug label Jun 30, 2023
@mattbrictson
Copy link
Member

Looks great! Thanks for the contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Fix Fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants