q6tkwq
Last Updated: February 25, 2016
·
603
· gouravtiwari

rvm install ruby-2.0.0 errored out and fixed!

$ rvm install 2.0.0
Searching for binary rubies, this might take some time.
Installing requirements for osx, might require sudo password.
error: Your local changes to the following files would be overwritten by merge:
Library/Formula/solr.rb
Please, commit your changes or stash them before you can merge.
Aborting
Error: Failure while executing: git pull -q origin refs/heads/master:refs/remotes/origin/master
Failed to update Homebrew, follow instructions here:
https://github.com/mxcl/homebrew/wiki/Common-Issues
and make sure `brew update` works before continuing.

To fix it:

$ cd /usr/local/Library/Formula/
$ git stash