Frage

I was trying to get my Ruby 1.9.3 running for my Octopress installation.

When I typed:

rbenv rehash    

I got an error:

rbenv: cannot rehash: /Users/my-computer-name/.rbenv/shims/.rbenv-shim exists

How to get rid of this issue?

War es hilfreich?

Lösung

Try using the following commands:

rm -rf /Users/my-computer-name/.rbenv/shims/.rbenv-shim
rbenv rehash

Andere Tipps

sudo rbenv rehash

Mine just needed the sudo

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top