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
{{ message }}
This repository was archived by the owner on Jul 13, 2023. It is now read-only.
I had a semi-urgent need to run paperclip based Rails apps on a linux CI host without file command installed.
While I could ask the admin to install them, I chose to implement (mostly for a demo purpose) a monkey patch to override the file command with the mimemagic gem and it turned out to work fine: paperclip-mimemagic
If there were a proper hook to register a separate backend to detect content types for a file, i could write it as a proper plugin rather than a monkey patch. I wonder if there's any interest in it.