-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
ContentType detector backends #1523
Comments
We used to use So, if you have a platform-independent filetype detection, please let us know. Otherwise, we'll have to stick with this for now. |
My understanding is that Having said that i understand the decision. |
Right. I missed the Reopening this. This might be a good alternative for cross-platform solution. |
Is this fixed with #1839 ? |
ping @sikachu: is this fixed now? |
The |
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-mimemagicIf 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.
The text was updated successfully, but these errors were encountered: