When I execute rvm install ruby-1.9.3-head I get this error:
➜ ~ 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'
Does anyone know how to fix this?
I ran into a similar problem and it seemed that some repository data was out of date/broken.
➜ rvm cleanup repostook care of this and fixed my problem.