You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the same config setting is defined both in deploy.rb and stage-specific files like deploy/production.rb, the stage-specific setting should take precedence.
In the linked file we use regular expressions to find Capistrano without actually loading the recipe. For this we grep a string of Ruby code (deploy_info) that is concatenated from deploy.rb and deploy/stage.rb (in this order). Since the code then uses the first result from =~, scan, etc. we always get the generic config from deploy.rb rather than the more specific one from deploy/stage.rb.
When the same config setting is defined both in
deploy.rb
and stage-specific files likedeploy/production.rb
, the stage-specific setting should take precedence.Right now it's the other way round due to the implementation of https://github.com/makandra/geordi/blob/master/lib/geordi/capistrano_config.rb .
The text was updated successfully, but these errors were encountered: