DEV Community

Discussion on: What's up with mimemagic breaking everything?

Collapse
 
davidarmendariz profile image
David Armendáriz

Any update on this? I still can't bundle install.

Collapse
 
egallup02360 profile image
egallup02360 • Edited

Install shared-mime-info manually, then run bundle update

OS X: brew install shared-mime-info
Linux (debian-based distro): apt-get install shared-mime-info (I think, I didn't test this)

Collapse
 
cseeman profile image
christine

Thanks for sharing a workaround, but this could potentially have copyright impacts if you start using pulling in shared-mime-info because I believe it is GNU GPL v2 licensed.

An alternative could also be github.com/rails/rails/issues/4175...

reference the yanked gem version mimemagicrb/mimemagic@01f92d8 in Gemfile until this issue is resolved:

gem 'mimemagic', github: 'mimemagicrb/mimemagic', ref: '01f92d86d15d85cfd0f20dabd025dcbd36a8a60f'

Thread Thread
 
egallup02360 profile image
egallup02360

Yes, this workaround wasn't in that thread when I posted this.

Absolutely the better option, by far.