【问题标题】:mingw32: key on railsmingw32:轨道上的钥匙
【发布时间】:2020-10-10 10:16:42
【问题描述】:

当我尝试启动 Rails 服务器时,我收到类似 Could not find gem 'sqlite3 (~> 1.4) x64-mingw32' in any of the gem sources listed in your Gemfile. 的错误。

稍后当我做bundle installgem install sqlite3

error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" not recognized
error: cannot remotely look at key "4A6129F4E4B84AE46ED7F635628F528CF3053E04"
error: database 'mingw32' is not valid (invalid or corrupted database (PGP signature))

我收到一个错误。

如果你能在这个问题上提供帮助,我会很高兴。

【问题讨论】:

    标签: ruby-on-rails ruby sqlite3-ruby


    【解决方案1】:

    你在 Windows 上吗?

    如果是,请打开 Gemfile.lock 文件并将 sqlite3 (1.4.2-x86-mingw32) 替换为 sqlite3 (1.4.2),然后再次捆绑安装

    【讨论】:

    • 我是在 Windows 上购买的,但我在那里做了不同的操作,现在又报错了。我正在处理它。但在 Linux 上,它仅以 sqlite3 (1.4) 形式给出此错误。
    猜你喜欢
    • 2018-11-10
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-04-26
    • 2014-10-26
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多