Skip to content


Subversion checkout URL

You can clone with
Download ZIP


update doesn't work #1070

anupj opened this Issue · 18 comments

When I type Y to update oh-my-zsh, I get this error message:

Last login: Sun Apr 15 15:22:10 on ttys000
git_compare_version: 4 : command not found: git

I'm using an iMac (osx lion 10.7.3), and I have git version installed.

My .zshrc file is as follows:

source $ZSH/

export PATH=/usr/local/git/bin:/usr/local/bin:/usr/local/sbin:/Library/PostgreSQL/9.0/bin:/usr/bin:/usr/sbin:/sbin:/Applications:

PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting

[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"


I'm getting this error after upgrading to OS X 10.7.3; first time I've seen it.


Same problem here... This issue appeared after I had restored backup from Time Machine.


Im getting this now too, but I just installed 10.8 DP3


While trying to install new ruby gem, it appeared my system can't find make command. I installed command line dev tools, and it solved this issue. So - you should try it too ;)


Similar experience as mcmajkel, I was getting this error and installed the command line dev tools for XCode and it's now fixed. The trigger for me (though I didn't connect it at the time) was the update from XCode 3.2 to XCode 4.3.x


I ran into the same issue after a 10.6->10.7 upgrade on a MacOS system. Fixed it (and hopefully broke nothing else) by swapping source $ZSH/ and export PATH=... in my .zshrc


I get this issue after changing to MT Lion


Just got this issue after upgrading to Mountain Lion


Have you tried to reinstall command line dev tools?


Ah, that fixed it. Thanks!

This link helped:


The problem is that XCode doesn't install command line tools by default anymore.
To install it:

In XCode's Preferences > Downloads you can install command line tools.


This info should be included in some kind of FAQ


Yep, updating command lines by opening Xcode fixed it. The rest of that article want needed for me at least.


After update do Mountain Lion too


when I try to update I'm getting:
You have not concluded your merge (MERGE_HEAD exists).
Please, commit your changes before you can merge.
There was an error updating. Try again later?

I tried git reset --hard , git merge --abort, git reset --merge
nothing is working?


I am getting the same as anthonybrown, any solution?


I get this as well.


You have corrupted your local git tree somehow, and this is not OMZ's fault.

Maybe you can try to commit and see what happens? If git merge --abort and such do not work, you can try to remove MERGE_HEAD manually. Anyway, your best shot is probably to try to save your local changes, then clone your repository again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.