mingw32:导轨上的键

问题描述

当我尝试启动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))

我得到一个错误

如果您能在这个问题上有所帮助,我会很高兴。

解决方法

您在Windows上吗?

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