Capistrano 3.7's new SCM declaration is a mistake

Based on the Readme here https://github.com/capistrano/capistrano/blob/v3.6.0/UPGRADING-3.7.md

Updating the Gemfile installation and the running package is working correctly. However, removing the variable :scmfrom deploy.rb and adding

require "capistrano/scm/git" install_plugin Capistrano::SCM::Git

the following error is generated in Capfile:

cap aborted! LoadError: cannot load such file -- capistrano/scm/git

Looking at the repo and available branches, I do not see a single directory for / scm, and then the git.rb file, except for the main / lib / capistrano / directory.

Am I missing something or is this an error with the current branch of the wizard?

Thanks Vincent

+4
source share

Source: https://habr.com/ru/post/1652217/


All Articles