小编Vin*_*arr的帖子

如何在Mac OSX 10.7.3 LION上安装带有RVM的Ruby 1.9.2?

我正在关注Ruby on Rails教程,我很想安装Ruby 1.9.2.它已经被#compiling函数卡住了大约36个小时.我试图找到我的configure.log文件,但老实说我无法做到.

到目前为止我做了什么:1)已安装的XCode 2)安装了GCC 10.7v2

我用的命令:

RVM reloaded!
vinnies-macbook:~ vinnie$ rvm install 1.9.2 --with-gcc=clang
Fetching yaml-0.1.4.tar.gz to /Users/vinnie/.rvm/archives
Extracting yaml-0.1.4.tar.gz to /Users/vinnie/.rvm/src
Configuring yaml in /Users/vinnie/.rvm/src/yaml-0.1.4.
Compiling yaml in /Users/vinnie/.rvm/src/yaml-0.1.4.
Installing yaml to /Users/vinnie/.rvm/usr
clang: error: unsupported option '--with-libyaml'
Building 'ruby-1.9.2-p318' using clang - but it's not (fully) supported, expect errors.
Installing Ruby from source to: /Users/vinnie/.rvm/rubies/ruby-1.9.2-p318, this may take a          while depending on your cpu(s)...

ruby-1.9.2-p318 - #fetching 
ruby-1.9.2-p318 - #extracted to /Users/vinnie/.rvm/src/ruby-1.9.2-p318 (already extracted)
ruby-1.9.2-p318 - …
Run Code Online (Sandbox Code Playgroud)

ruby macos rvm ruby-1.9.2

9
推荐指数
2
解决办法
7520
查看次数

标签 统计

macos ×1

ruby ×1

ruby-1.9.2 ×1

rvm ×1