今天我尝试为我的 Rails 6.1.0 构建一个带有主动存储的 docker,我收到以下错误:
Your bundle is locked to mimemagic (0.3.5), but that version could not be found in any of the sources listed in your Gemfile. If you haven't changed sources, that means the author of mimemagic (0.3.5) has removed it. You'll need to update your
bundle to a version other than mimemagic (0.3.5) that hasn't been removed in order to install.
现在我尝试安装 mimemagic
gem install mimemagic -v 0.3.5
我有以下错误:
ERROR: Could not find a valid gem 'mimemagic' (= 0.3.5) in any repository
ERROR: Possible alternatives: mimemagic
看来宝石不见了。有人可以解释一下吗?
这个问题的解决办法是什么?
几天前,mimemagic 版本被撤下。更多信息请访问:
- https://github.com/rails/rails/issues/41750 https://github.com/rails/rails/issues/41750
- https://rubygems.org/gems/mimemagic/versions https://rubygems.org/gems/mimemagic/versions
您可以按如下方式修改 Gemfile:
gem 'mimemagic', github: 'mimemagicrb/mimemagic', ref: '01f92d86d15d85cfd0f20dabd025dcbd36a8a60f'
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)