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

相关文章

validates:conclusion,:presence=>true,:inclusion=>{...
一、redis集群搭建redis3.0以前,提供了Sentinel工具来监控各...
分享一下我老师大神的人工智能教程。零基础!通俗易懂!风趣...
上一篇博文 ruby传参之引用类型 里边定义了一个方法名 mo...
一编程与编程语言 什么是编程语言? 能够被计算机所识别的表...
Ruby类和对象Ruby是一种完美的面向对象编程语言。面向对象编...