今天我尝试为我的 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.
Run Code Online (Sandbox Code Playgroud)
现在我尝试安装 mimemagic
gem install mimemagic -v 0.3.5
Run Code Online (Sandbox Code Playgroud)
我有以下错误:
ERROR: Could not find a valid gem 'mimemagic' …Run Code Online (Sandbox Code Playgroud) 我在将版本上传到 heroku 时遇到错误。
!LoadError: 无法加载此类文件 -- mimemagic/overlay
我按照建议成功运行了“bundle exec rake -P”命令,但在输出中看不到任何 mimemagic。我以前从未考虑过模仿魔法。我认为它是被其他宝石吸引的,特别是“载波”。我发现了一个对话(https://github.com/rails/rails/issues/41757),其中 gem 在过去几天进行了修改,我想知道我是否被一个重大更新所困扰。