【发布时间】:2015-01-20 00:27:56
【问题描述】:
当我运行“捆绑安装”时,我收到以下错误:
An error occurred while installing mysql2 (0.3.17), and Bundler cannot continue.
Make sure that `gem install mysql2 -v '0.3.17'` succeeds before bundling.
当我尝试运行命令 gem install mysql2 -v '0.3.17' 时,我得到了错误:
ERROR: Error installing mysql2:
ERROR: Failed to build gem native extension.
我已尝试重新安装和安装导轨。
我在 MacOs 上。
有人吗?谢谢!
【问题讨论】:
-
请提供构建日志
-
您将在此处获得经过验证的答案:[stackoverflow.com/questions/3608287/… [1]:stackoverflow.com/questions/3608287/…
-
我看到了这些主题,但仍然失败。
-
@МалъСкрылевъ justpaste.it/i3cj
-
人们在安装mysql2时遇到了各种各样的问题。 google 一下,看看github.com/brianmario/mysql2/issues
标签: ruby-on-rails ruby macos