capistrano-multiconfig
capistrano-multiconfig copied to clipboard
Capistrano extension that allows to use multiple configurations
How do you manage different credentials for same environnement (`production` for example) but different configs? Actual config: - `config/credentials/production.key` - `config/credentials/production.yml.enc` How can I add this: - `config/credentials/cusomters/one/production.key` - `config/credentials/cusomters/one/production.yml.enc`
On ruby 3.2.2 ``` cap staging deploy --trace ** Invoke staging (first_time) ** Execute staging ** Invoke load:defaults (first_time) ** Execute load:defaults cap aborted! NoMethodError: undefined method `exists?' for File:Class...
removed in Ruby 3.2.0 https://ruby-doc.org/core-2.2.0/File.html#method-c-exists-3F https://bugs.ruby-lang.org/issues/17391
See https://github.com/railsware/capistrano-multiconfig/pull/18
``` $ cap deployer:staging deploy Skipping task `load:defaults'. Capistrano tasks may only be invoked once. Since task `load:defaults' was previously invoked, invoke("load:defaults") at /home/karlis/.rvm/gems/ruby-2.4.0@janus-db-migrations/gems/capistrano-3.7.2/lib/c apistrano/setup.rb:24 will be skipped. If you...
Just a question: I have projects `foo` and `bar`, each with `production` and `staging` stages and a `deploy` task. I can invoke them on the command line as: ``` cap...