Removed gem breaks Rails ActiveStorage
The reason this is happening is not obvious without reading <a href="https:&#x2F;&#x2F;github.com&#x2F;minad&#x2F;mimemagic&#x2F;issues&#x2F;97" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;minad&#x2F;mimemagic&#x2F;issues&#x2F;97</a><p>&gt; I&#x27;ve historically been the maintainer of shared-mime-info for around 15 years, and script&#x2F;freedesktop.org.xml looks like it&#x27;s a copy of the database shipped with shared-mime-info, which is released under the GPL, with shared-mime-info&#x27;s translators work merged in, and the GPL header removed.<p>&gt; The license that you&#x27;re shipping mimemagic under (MIT) isn&#x27;t compatible with shared-mime-info&#x27;s.<p>Seems like quite a reasonable request, even if folk don’t like the results.<p>..and to be clear, I’m quite sure that rolling back to the commit before the license change does exactly nothing to address the issue.<p>You don’t magically get your MIT license back by forking before the license change was added, that’s not how it works.<p>If the previous version contains GPL code, it’s GPL. It doesn’t matter if you slap an MIT license file on it, or used it in “good faith” presuming it was MIT license.