Comments (2)
I was able to correct this by adding the following to a Rails initializer:
MimeMagic.add('application/dicom', magic: [[128, 'DICM']])
from mimemagic.
Invalid, this should be fixed in the shared-mime-info database upstream.
from mimemagic.
Related Issues (20)
- Housekeeping: Changelog missing a few releases HOT 1
- undefined method `by_magic' for MimeMagic:Class HOT 1
- Mimemagic Gem version 0.3.10 not working with Azure App Service HOT 4
- Question regarding dependency path(s) HOT 1
- 0.3.10 errors when executing rails commands in OSX: Errno::EISDIR: Is a directory @ io_fillbuf HOT 3
- Use $XDG_DATA_DIRS to find the freedesktop.org.xml HOT 3
- Rake error deploying to Heroku with 0.3.10 HOT 1
- An error occurred while installing mimemagic (0.3.10), and Bundler cannot continue. HOT 10
- nokogiri vulnerabilities
- Weight not respected
- mimemagic not compaction-friendly
- an unexpected error occurred,
- Docx content type recognition HOT 1
- MimeMagic.by_magic returns nil for .txt text/plain files HOT 1
- Memory usage HOT 2
- cannot load such file -- mimemagic/path HOT 1
- Install gem in Github Action with bundler-cache fails HOT 2
- add `parents` and `lineage` methods HOT 1
- add aliases and canonical form HOT 1
- [Redmine plugin CKEditor] An error occurred while installing mimemagic (0.3.10), and Bundler cannot continue.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mimemagic.