规格:XCode 4.3.2、Mac OS X 10.7.3、RVM 1.12.3(稳定)。
我真的需要这方面的帮助,所以任何事情都值得赞赏。
我安装了 Ruby 1.8.7,然后需要更新到 1.9.3,所以我找到了 RVM。我安装了 RVM,然后尝试更新,结果如下:
rvm install 1.9.3
Fetching yaml-0.1.4.tar.gz to /Users/myname/.rvm/archives
Extracting yaml-0.1.4.tar.gz to /Users/myname/.rvm/src
Error running 'tar xmzf /Users/myname/.rvm/archives/yaml-0.1.4.tar.gz -C /Users/myname/.rvm/src ', please read /Users/myname/.rvm/log/ruby-1.9.3-p125/yaml/extract.log
Configuring yaml in /Users/myname/.rvm/src/yaml-0.1.4.
Error running ' ./configure
--prefix="/Users/myname/.rvm/usr" ', please read /Users/myname/.rvm/log/ruby-1.9.3-p125/yaml/configure.log Compiling yaml in /Users/myname/.rvm/src/yaml-0.1.4.
Error running 'make ', please read /Users/myname/.rvm/log/ruby-1.9.3-p125/yaml/make.log
Database file /Users/myname/.rvm/config/packages does not exist.
Installing Ruby from source to: /Users/myname/.rvm/rubies/ruby-1.9.3-p125,
this may take a while depending on your cpu(s)...
ruby-1.9.3-p125
- #fetching ruby-1.9.3-p125
- #extracted to /Users/myname/.rvm/src/ruby-1.9.3-p125 (already extracted) ruby-1.9.3-p125
- #configuring Error running ' ./configure
--prefix=/Users/myname/.rvm/rubies/ruby-1.9.3-p125 --enable-shared --disable-install-doc --with-libyaml --with-opt-dir=/Users/myname/.rvm/usr ',
please read /Users/myname/.rvm/log/ruby-1.9.3-p125/configure.log
There has been an error while running configure. Halting the installation.
ls: /Users/myname/.rvm/rubies/*/bin/ruby: No such file or directory