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
After an update to the ubuntu-latest version on GitHub CI to 24.04, we encountered a failure in our CI build.
We discovered that the latest version of the runner did not install ImageMagick, as noted here. However, installing ImageMagick alone did not resolve the issue.
Upon further investigation, we found that the command-line tools identify and convert, which kt-paperclip relies on, have been bundled into a single command-line tool called magick in recent versions of ImageMagick. As a result, when kt-paperclip tries to invoke the identify or convert commands, it throws the error shown above.
Workaround
A workaround involves including the path to the magick command-line tool to make it easily accessible. Additionally, creating a symlink to the magick tool allows the identify and convert commands to invoke magick seamlessly.
For reference, we implemented this workaround in our project, as detailed in this pull request
The text was updated successfully, but these errors were encountered:
Formasitchijoh
changed the title
Error: Paperclip::Errors::CommandNotFoundError: Could not run the identify command. Please install ImageMagick
Error: Could not run the identify command. Please install ImageMagick
Jan 15, 2025
Meta
GitHub CI Runner Version: ubuntu-latest ( 24.04 )
ImageMagick Version: 7.1.1-43
kt-paper Version: 7.2.0
Issue
After an update to the
ubuntu-latest
version on GitHub CI to 24.04, we encountered a failure in our CI build.We discovered that the latest version of the runner did not install ImageMagick, as noted here. However, installing ImageMagick alone did not resolve the issue.
Upon further investigation, we found that the command-line tools
identify
andconvert
, which kt-paperclip relies on, have been bundled into a single command-line tool called magick in recent versions of ImageMagick. As a result, when kt-paperclip tries to invoke theidentify
orconvert
commands, it throws the error shown above.Workaround
A workaround involves including the path to the magick command-line tool to make it easily accessible. Additionally, creating a symlink to the
magick
tool allows the identify and convert commands to invoke magick seamlessly.For reference, we implemented this workaround in our project, as detailed in this pull request
The text was updated successfully, but these errors were encountered: