Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

update doesn't work #1070

Closed
anupj opened this Issue · 18 comments
@anupj

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 1.7.2.2 installed.

My .zshrc file is as follows:

source $ZSH/oh-my-zsh.sh

export PATH=/usr/local/git/bin:/usr/local/bin:/usr/local/sbin:/Library/PostgreSQL/9.0/bin:/usr/bin:/usr/sbin:/sbin:/Applications:
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/Users/anup/.rvm/bin

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

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

@akavlie

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

@mcmajkel

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

@wprater

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

@mcmajkel

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

@mmjohnso

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

@timdev

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/oh-my-zsh.sh and export PATH=... in my .zshrc

@lostAstronaut

I get this issue after changing to MT Lion

@adamalbrecht

Just got this issue after upgrading to Mountain Lion

@mcmajkel

Have you tried to reinstall command line dev tools?

@adamalbrecht

Ah, that fixed it. Thanks!

This link helped: https://gist.github.com/1860902

@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.

@mcmajkel

This info should be included in some kind of FAQ

@lostAstronaut

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

@sputinyk

After update do Mountain Lion too

@anthonybrown

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?

@Decad

I am getting the same as anthonybrown, any solution?

@ronnyandre

I get this as well.

@ncanceill

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.