加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

ruby-on-rails – Lion吃了我的RVM,现在我无法安装Ruby

发布时间:2020-12-16 20:12:37 所属栏目:百科 来源:网络整理
导读:我最近升级到狮子,一切都很好.甚至重新启动机器几次.然后在周末,Rails走了!我所有的宝石都走了.我发誓我不知道发生了什么事.它工作很好 看完后,RVM本身就走了. 所以,我重新安装RVM,并尝试安装Ruby 1.9.2,并得到这个错误日志: [2011-08-08 14:30:41] ./conf
我最近升级到狮子,一切都很好.甚至重新启动机器几次.然后在周末,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

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读