Skip to content

Conversation

@mroderick
Copy link
Collaborator

Summary

  • Adds pre-flight check to db:seed that validates ImageMagick is installed
  • Fails fast with clear error message and installation instructions if missing
  • Updates documentation to emphasize ImageMagick is required for seeding

Changes

  • db/seeds.rb: Added ImageMagick validation that checks for both convert (v6) and magick (v7) commands
  • native-installation-instructions.md: Emphasized ImageMagick is a required dependency
  • README.md: Added note clarifying Docker includes ImageMagick automatically, native installation requires manual install

Problem Solved

Previously, db:seed would fail silently when ImageMagick was missing, creating only chapters and members but no workshops, events, or meetings. The error only appeared deep in logs. Now developers get immediate, actionable feedback.

Test Plan

  • All 841 tests pass
  • Verified seeds work with ImageMagick installed (creates 38 workshops, 20 events, 20 meetings)
  • Error message provides clear installation instructions for macOS, Ubuntu/Debian, and Windows

Validates ImageMagick (convert or magick) is installed before attempting
to seed the database. Fails fast with clear installation instructions
instead of silently producing incomplete data.
Add comment explaining ImageMagick is required for image processing
and that db:seed will fail without it.
Clarify that Docker includes ImageMagick automatically, but native
installation requires manual installation.
@mroderick mroderick marked this pull request as ready for review February 3, 2026 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant