gpt4 book ai didi

mysql - 在任何源的本地副本 : Could not find mysql2-0. 2.6 上运行 Rails Server 时出错。尝试运行 `bundle install`

转载 作者:行者123 更新时间:2023-11-29 14:57:21 25 4
gpt4 key购买 nike

我刚刚在 github 上 fork 了一个应用程序的副本并将其保存在我的计算机上。当我尝试在应用程序目录中运行 Rails 服务器时,出现以下错误:

Could not find mysql2-0.2.6 in any of the sources
Try running `bundle install`.

然而,今天早些时候,我为 Mac OS X 安装了 MySQL 5.1.53,据说也安装了它……至少我确信我确实安装了。

即使我非常确定我的系统上已经安装了 MySQL,为什么终端会出现此错误消息?

最佳答案

这不是提示 MySQL 本身,而是提示缺少 gem。

只需按照消息提示操作,运行bundle install即可下载并安装 gem。

关于mysql - 在任何源的本地副本 : Could not find mysql2-0. 2.6 上运行 Rails Server 时出错。尝试运行 `bundle install`,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4271151/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com