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
Deployments were working fine for several years with 3.6.1. As part of trying Ruby 3.0 migration we upgraded capistrano to 3.15.0 and getting the following error during deploy:
LoadError: cannot load such file -- capistrano/git
Your Capfile should start like this, in this order:
require"capistrano/setup"require"capistrano/deploy"require"capistrano/scm/git"install_pluginCapistrano::SCM::Git# The rest of your custom config can go here:require"capistrano/bundler"require"whenever/capistrano"require"time"
I see you have require "capistrano/multiconfig" before many of the standard capistrano require statements. I do not know what that does. It is not an official capistrano project. Perhaps it is not compatible with 3.15.0? You might want to check with its maintainers: https://github.com/railsware/capistrano-multiconfig
Deployments were working fine for several years with 3.6.1. As part of trying Ruby 3.0 migration we upgraded capistrano to 3.15.0 and getting the following error during deploy:
LoadError: cannot load such file -- capistrano/git
Capfile has:
require "capistrano/setup"
require "capistrano/multiconfig"
require "capistrano/deploy"
require "capistrano/scm"
require "capistrano/git"
require "capistrano/bundler"
require "whenever/capistrano"
require "time"
require "capistrano/scm/git"
We also tried by removing require "capistrano/git" and including:
require "capistrano/scm/git"
install_plugin Capistrano::SCM::Git
But with this we are getting:
cannot load such file -- capistrano/default-git.rb
Are we supposed to make some changes to Capfile when upgrading to 3.15.0?
The text was updated successfully, but these errors were encountered: