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

15 participants

Anup Jadhav Aaron Kavlie mcmajkel Will Prater Matt Johnson Tim Lieberman Tom Adam Albrecht Sergii Tkachenko José Raimundo de Sousa Neto Tony Brown Declan Cook Ronny-André Bendiksen Nicolas Canceill Robby Russell
Anup Jadhav

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"

Aaron Kavlie

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.

Will Prater

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

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

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

Tom

I get this issue after changing to MT Lion

Adam Albrecht

Just got this issue after upgrading to Mountain Lion

mcmajkel

Have you tried to reinstall command line dev tools?

Adam Albrecht

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

Tom

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

I am getting the same as anthonybrown, any solution?

Ronny-André Bendiksen

I get this as well.

Nicolas Canceill

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.