嘗試使用RVM在我的操作系統10.7 MBP上安裝Ruby 1.9.3時,出現無限循環,因爲它試圖找到另一個Ruby來執行安裝:在OS X 10.7上使用RVM安裝Ruby 1.9.3的叉環使用RVM在OS X 10.7上
$ 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]
任何想法什麼可能導致這一點,以及如何解決?
它說「紅寶石1.9 |紅寶石-2兼容的紅寶石」,你的紅寶石(1.8.7)不是。 –
是什麼版本的rvm?這可能是頭安裝失敗後的問題,請檢查:echo $ rvm_head_flag。 – mpapis