相关疑难解决方法(0)

您的包被锁定为 mimemagic (0.3.5),但是在您的 Gemfile 中列出的任何来源中都找不到该版本

今天我尝试为我的 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)

ruby-on-rails ruby-on-rails-6 mimemagic

47
推荐指数
3
解决办法
3万
查看次数

Heroku:LoadError:无法加载此类文件——mimemagic/overlay

我在将版本上传到 heroku 时遇到错误。

!LoadError: 无法加载此类文件 -- mimemagic/overlay

我按照建议成功运行了“bundle exec rake -P”命令,但在输出中看不到任何 mimemagic。我以前从未考虑过模仿魔法。我认为它是被其他宝石吸引的,特别是“载波”。我发现了一个对话(https://github.com/rails/rails/issues/41757),其中 gem 在过去几天进行了修改,我想知道我是否被一个重大更新所困扰。

ruby-on-rails

4
推荐指数
1
解决办法
1626
查看次数

标签 统计

ruby-on-rails ×2

mimemagic ×1

ruby-on-rails-6 ×1