1

RVM を使用して OS 10.7 MBP に Ruby 1.9.3 をインストールしようとすると、別の Ruby を見つけてインストールしようとするため、無限ループが発生します。

$ rvm system
$ rvm install 1.9.3
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.7/x86_64/ruby-1.9.3-p448.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.

Warning! Requested ruby installation which requires another ruby available - installing one first.

Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.7/x86_64/ruby-2.0.0-p247.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.

Warning! Requested ruby installation which requires another ruby available - installing one first.

Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.7/x86_64/ruby-2.0.0-p247.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.

Warning! Requested ruby installation which requires another ruby available - installing one first.

Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.7/x86_64/ruby-2.0.0-p247.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.

Warning! Requested ruby installation which requires another ruby available - installing one first.

Searching for binary rubies, this might take some time.
^C
To proceed rvm requires a ruby-1.9|ruby-2 compatible ruby is installed.
We attempted to install ruby automatically but it failed.
Please install it manually (or a compatible alternative) to proceed.


To proceed rvm requires a ruby-1.9|ruby-2 compatible ruby is installed.
We attempted to install ruby automatically but it failed.
Please install it manually (or a compatible alternative) to proceed.


To proceed rvm requires a ruby-1.9|ruby-2 compatible ruby is installed.
We attempted to install ruby automatically but it failed.
Please install it manually (or a compatible alternative) to proceed.


To proceed rvm requires a ruby-1.9|ruby-2 compatible ruby is installed.
We attempted to install ruby automatically but it failed.
Please install it manually (or a compatible alternative) to proceed.

もちろん、ルビーが存在しない場合は、そこまで到達していません。

$ which ruby
/usr/bin/ruby
$ ruby -v
ruby 1.8.7 (2012-02-08 patchlevel 358) [universal-darwin11.0]

これを引き起こしている可能性のあるものと、修正方法はありますか?

4

2 に答える 2

4

最近、OS X 10.8 と ruby​​-1.8.7 で同様の問題が発生しました。私の場合、rvmのアップグレードが役に立ちました。終わったよ:

$ rvm get stable

その後:

$ rvm use system
$ rvm install 1.8.7-p374
于 2013-09-24T10:03:20.640 に答える