这是一个创建于 4606 天前的主题,其中的信息可能已经有所发展或是发生改变。
brickhumatoMacBook-Pro:~ brickhu$ rvm install 1.9.2
Fetching yaml-0.1.4.tar.gz to /Users/brickhu/.rvm/archives
Extracting yaml-0.1.4.tar.gz to /Users/brickhu/.rvm/src
Configuring yaml in /Users/brickhu/.rvm/src/yaml-0.1.4.
Error running ' ./configure --prefix="/Users/brickhu/.rvm/usr" ', please read /Users/brickhu/.rvm/log/ruby-1.9.2-p320/yaml/configure.log
Compiling yaml in /Users/brickhu/.rvm/src/yaml-0.1.4.
Error running 'make ', please read /Users/brickhu/.rvm/log/ruby-1.9.2-p320/yaml/make.log
Database file /Users/brickhu/.rvm/config/packages does not exist.
Installing Ruby from source to: /Users/brickhu/.rvm/rubies/ruby-1.9.2-p320, this may take a while depending on your cpu(s)...
ruby-1.9.2-p320 - #fetching
ruby-1.9.2-p320 - #extracted to /Users/brickhu/.rvm/src/ruby-1.9.2-p320 (already extracted)
ruby-1.9.2-p320 - #configuring
Error running ' ./configure --prefix=/Users/brickhu/.rvm/rubies/ruby-1.9.2-p320 --enable-shared --disable-install-doc --with-libyaml --with-opt-dir=/Users/brickhu/.rvm/usr ', please read /Users/brickhu/.rvm/log/ruby-1.9.2-p320/configure.log
There has been an error while running configure. Halting the installation.
ls: /Users/brickhu/.rvm/rubies/*/bin/ruby: No such file or directory
brickhumatoMacBook-Pro:~ brickhu$
1 条回复 • 1970-01-01 08:00:00 +08:00
|
|
1
kongruxi 2012-05-13 19:44:13 +08:00
先看看 rvm requirements,安装好依赖,特别是对 Xcode 描述那段
安装时,加上个参数,即:rvm install 1.9.2 --with-gcc=clang
另外,如果对 ruby 版本不是有限制的话,建议安装 1.9.3
|