Ruby   发布时间:2022-04-03  发布网站:大佬教程  code.js-code.com
大佬教程收集整理的这篇文章主要介绍了ruby-on-rails – Lion吃了我的RVM,现在我无法安装Ruby大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
我最近升级到狮子,一切都很好.甚至重新启动机器几次.然后在周末,Rails走了!我所有的宝石都走了.我发誓我不知道发生了什么事.它工作很好

看完后,RVM本身就走了.

所以,我重新安装RVM,并尝试安装Ruby 1.9.2,并得到这个错误日志:

[2011-08-08 14:30:41]  ./configure --prefix="/Users/cbmeeks/.rvm/usr"  
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... config/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... no
checking for gcc... /usr/bin/gcc-4.2
checking whether the C compiler works... no
configure: error: in `/Users/cbmeeks/.rvm/src/yaml-0.1.4':
configure: error: C compiler cannot create executables
See `config.log' for more details

看来gcc已经不见了我宁愿不要随便重新安装一切,因为一切都在工作之前.

有任何想法吗?

谢谢.

解决方法

安装Lion后,您必须重新安装Xcode / Developer工具.它可从应用商店获得.

http://itunes.apple.com/us/app/id448457090?mt=12

大佬总结

以上是大佬教程为你收集整理的ruby-on-rails – Lion吃了我的RVM,现在我无法安装Ruby全部内容,希望文章能够帮你解决ruby-on-rails – Lion吃了我的RVM,现在我无法安装Ruby所遇到的程序开发问题。

如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。
标签: