Skip to content

Fix the load_hooks: false example in the README - #11

Merged
burisu merged 1 commit into
mainfrom
readme-load-hooks-example
Nov 9, 2026
Merged

burisu merged 1 commit into
mainfrom
readme-load-hooks-example

Conversation

@burisu

@burisu burisu commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Problem

The README example for disabling the hooks passes the module to install_plugin:

install_plugin Capistrano::SolidQueue, load_hooks: false

With this Capfile, cap stops with:

NoMethodError: undefined method 'define_tasks' for module Capistrano::SolidQueue (NoMethodError)

Changes

The example uses the plugin class, Capistrano::SolidQueue::Systemd, like the installation example just above.

Tests

No automated test: this is documentation. Checked by hand in a minimal Capistrano project (SSHKit Local backend) with cap preprod solid_queue:generate: the current example fails with the error above; the fixed example passes (exit 0).

🤖 Generated with Claude Code

L'exemple passait le module Capistrano::SolidQueue à install_plugin,
ce qui fait échouer cap avec « NoMethodError: undefined method
'define_tasks' for module Capistrano::SolidQueue ». Le plugin est la
classe Capistrano::SolidQueue::Systemd, comme dans l'exemple
d'installation juste au-dessus.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@burisu
burisu marked this pull request as ready for review November 9, 2026 08:21
@burisu
burisu merged commit cadfd6e into main Nov 9, 2026
5 checks passed
@burisu
burisu deleted the readme-load-hooks-example branch November 9, 2026 08:22
burisu added a commit that referenced this pull request Nov 9, 2026
CHANGELOG mis au format Keep a Changelog 1.1.0 : sections Fixed et
Added par version, liens de comparaison entre tags en bas du fichier,
correction du README (#11) ajoutée, libellé #3 corrigé en #5 pour 0.1.2.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant