1

実行するrvm install ruby-1.9.3-headと、次のエラーが発生します。

➜  ~  rvm install ruby-1.9.3-head
Installing Ruby from source to: /Users/max/.rvm/rubies/ruby-1.9.3-head, this may take a while depending on your cpu(s)...
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
Branch origin/ruby_1_9_3 not found.
There has been an error while checking out branch ruby_1_9_3.  
Halting the installation.
There has been an error fetching the ruby interpreter. Halting the installation.

ruby-1.9.3-head is not installed.
To install do: 'rvm install ruby-1.9.3-head'

これを修正する方法を知っている人はいますか?

4

2 に答える 2

5

同様の問題に遭遇し、一部のリポジトリ データが古くなっている/壊れているように見えました。

➜ rvm cleanup reposこれを処理し、私の問題を修正しました。

于 2012-11-15T11:24:33.420 に答える
3

やろうrvm get stableか、rvm get head最初に。古いバージョンのRVMを使用している可能性があります。

于 2012-11-09T16:56:42.443 に答える