Bundle update & install fail after OS X lion upgrade - Rails 3

匆匆过客 提交于 2019-11-29 01:54:35

Make sure to install XCode. Install it from the App Store, but also run "Install Xcode" from the Applications folder.

I had this problem, but XCode was installed. Turned out that I installed ruby-2.0.0 before XCode (it was a new laptop I was getting up to speed). Doing a:

rvm reinstall 2.0.0

Solved the problem for me.

I had a similar error because I hadn't accepted the Xcode terms of service from the latest download.

sudo gcc --version

And then accept the agreement.

If you have homebrew installed, you can also just run 'brew install mysql' and this will install mysql and the dependencies required to compile the native gem.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!