Skip to content
This repository

update doesn't work #1070

anupj opened this Issue · 16 comments
Anup Jadhav
anupj commented

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"

Aaron Kavlie

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.

Will Prater
wprater commented

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 ;)

Matt Johnson

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

Tim Lieberman
timdev commented

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

Adam Albrecht

Just got this issue after upgrading to Mountain Lion


Have you tried to reinstall command line dev tools?

Adam Albrecht

Ah, that fixed it. Thanks!

This link helped:

Sergii Tkachenko

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.

José Raimundo de Sousa Neto

After update do Mountain Lion too

Tony Brown

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?

Declan Cook
Decad commented

I am getting the same as anthonybrown, any solution?

Robby Russell robbyrussell closed this
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.