使用 archflag 和版本 mysql2 安装 gem
沮丧的。这是错误的吗?
env ARCHFLAGS="-arch x86_64" sudo gem install mysql2 --version '0.2.6' -- --with-mysql-config=/usr/local/mysql/bin/mysql_config
想要安装 0.2.6
到底为什么呢继续安装0.3.2???
frustrated. Is this wrong?
env ARCHFLAGS="-arch x86_64" sudo gem install mysql2 --version '0.2.6' -- --with-mysql-config=/usr/local/mysql/bin/mysql_config
want to install 0.2.6
Why the hell it keeps installing 0.3.2????
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
请注意
note the
嗯,所以它应该是 '= 0.2.6'
但现在我得到了
Please install the mysql2 adapter:
gem install activerecord-mysql2-adapter
好吧,是时候重新安装所有东西了...
hm so it should be '= 0.2.6'
But now I got
Please install the mysql2 adapter:
gem install activerecord-mysql2-adapter
Alrighty time to reinstall everything... again