无法使用RVM安装ruby 1.9.3.似乎是某种类型的git错误

Max*_*Max 1 ruby macos rvm

当我执行时,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'
Run Code Online (Sandbox Code Playgroud)

有谁知道如何解决这一问题?

Gre*_*und 5

我遇到了类似的问题,似乎某些存储库数据已过期/已损坏.

? rvm cleanup repos 照顾这个并解决了我的问题.