ruby-on-rails - mingw32:轨道上的钥匙
问题描述
当我尝试启动 rails 服务器时,我收到类似Could not find gem 'sqlite3 (~> 1.4) x64-mingw32' in any of the gem sources listed in your Gemfile.
.
后来当我做bundle install
或gem 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),然后再次捆绑安装
推荐阅读
- java - 我的 HMACSHA256 签名验证几乎可以工作,但不完全
- excel - 使用 ListBox 输入值
- html - 更改字体样式时如何防止表格上下文调整大小/更改填充?
- javascript - 如何在运行会话(WebRTC、RTCMultiConnection)期间重新启动屏幕共享?
- asp.net - 在请求标头中输入 JWT 令牌时,自定义授权属性无法工作
- google-bigquery - 如何从 BigQuery 读取 Google Storage 存储桶中的每个文件并为存储桶中的每个文件创建一个表?
- python - 是否可以在熊猫的标题上方添加一行
- excel - 比较两个单元格值并仅突出显示文本
- reactjs - 从外部组件反应测试库触发回调
- python - 如何在 django webapp 中运行一些网页抓取脚本