hey-ashy
hey-ashy

Reputation: 23

rbenv install error on OS X?

I just upgraded my Mac and updated it using a Time Machine backup that had a fully functioning Ruby package with Rails, Pow and iMagick. For some reason everything seems to be broken.

I am trying to reinstall Ruby using rbenv and get the following message when using rbenv install 2.1.2:

/usr/local/Cellar/rbenv/0.4.0/libexec/rbenv-hooks: line 32: cd: ../../../Cellar/rbenv-default-gems/1.0.0/etc/rbenv.d/install: No such file or directory
/usr/local/Cellar/rbenv/0.4.0/libexec/rbenv-hooks: line 32: cd: ../../../Cellar/rbenv-default-gems/1.0.0/etc/rbenv.d/install: No such file or directory
/usr/local/Cellar/rbenv/0.4.0/libexec/rbenv-hooks: line 32: cd: ../../../Cellar/rbenv-default-gems/1.0.0/etc/rbenv.d/install: No such file or directory
/usr/local/Cellar/rbenv/0.4.0/libexec/rbenv-hooks: line 32: cd: ../../../Cellar/rbenv-default-gems/1.0.0/etc/rbenv.d/install: No such file or directory

Any advice on what I can do to fix the problem would be very much appreciated.

Upvotes: 0

Views: 2331

Answers (1)

Nick Sarafa
Nick Sarafa

Reputation: 997

Running 'brew prune' should get rid of this issue

Upvotes: 1

Related Questions