首页 > 解决方案 > 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))

我得到一个错误。

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

标签: ruby-on-railsrubysqlite3-ruby

解决方案


你在 Windows 上吗?

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


推荐阅读