user1583825
user1583825

Reputation:

Installing Octopress on Mountain Lion: rehash issue

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?

Upvotes: 2

Views: 66

Answers (2)

newTag
newTag

Reputation: 2169

Try using the following commands:

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

Upvotes: 1

John Mee
John Mee

Reputation: 52313

sudo rbenv rehash

Mine just needed the sudo

Upvotes: 0

Related Questions