1

次の手順を使用して Mac OS X 10.8 に Ruby 2.0 をインストールしようとしています http://www.interworks.com/blogs/ckaukis/2013/03/05/installing-ruby-200-rvm-and-homebrew-mac -os-x-108-マウンテンライオン

すべてのステップが最後まで正常に完了しました。走った後

rvm install 2.0.0

次の出力が得られます。

/Users/aaron/.rvm/src/ruby-2.0.0-p0 has already been removed.
/Users/aaron/.rvm/rubies/ruby-2.0.0-p0 has already been removed.
Searching for binary rubies, this might take some time. No binary
rubies available for: osx/10.8/x86_64/ruby-2.0.0-p0. Continuing with
compilation. Please read 'rvm mount' to get more information on binary
rubies. Installing requirements for osx, might require sudo password.
Already up-to-date. Certificates in '/usr/local/etc/openssl/cert.pem'
already are up to date. Installing Ruby from source to:
/Users/aaron/.rvm/rubies/ruby-2.0.0-p0, this may take a while
depending on your cpu(s)... ruby-2.0.0-p0 - #downloading
ruby-2.0.0-p0, this may take a while depending on your connection...
tee: /Users/aaron/.rvm/log/ruby-2.0.0-p0/extract.log: Permission
denied tee: /Users/aaron/.rvm/log/ruby-2.0.0-p0/extract.log:
Permission denied ruby-2.0.0-p0 - #extracting ruby-2.0.0-p0 to
/Users/aaron/.rvm/src/ruby-2.0.0-p0 Error running
'__rvm_package_extract
/Users/aaron/.rvm/archives/ruby-2.0.0-p0.tar.bz2
/Users/aaron/.rvm/tmp/rvm_src_856', please read
/Users/aaron/.rvm/log/ruby-2.0.0-p0/extract.log There has been an
error while trying to extract the source. Halting the installation.
There has been an error fetching the ruby interpreter.  Halting the
installation.

ソースを抽出できないようです。これを機能させるための推奨事項はありますか? 前もって感謝します。

4

3 に答える 3

4

権限に問題がある可能性があります。次を試してください。

sudo chown -R $USER: $rvm_path
于 2013-03-27T22:03:40.017 に答える
2

rvm get headインストールを再試行して実行します

于 2013-03-27T21:39:26.360 に答える
0

これは既知の問題です。https://developer.apple.com/downloadsから最新のコマンド ライン ツールがあることを確認し、rvm install ruby​​ --with-gcc=clang を実行します。

私は基本的にここからの答えを繰り返しているだけです

于 2013-05-05T11:23:00.450 に答える