Git Product home page Git Product logo

Comments (8)

strongriley avatar strongriley commented on July 19, 2024

Hi @WarFox. To test whether you have Homebrew installed, we do which brew. That command should reveal where the bin actually lives. That must have failed, possibly because /usr/local/bin/ is not added to your $PATH.

Try adding something like this to your .bash_profile

export PATH="/usr/local/bin:$PATH"

from maximum-awesome.

WarFox avatar WarFox commented on July 19, 2024

Hi @strongriley, thanks for the response. Running which brew in the terminal gives me /usr/local/bin/brew

And my $PATH has /usr/local/bin/

This is my complete $PATH

/Library/Frameworks/Python.framework/Versions/2.7/bin:/Users/deepu/.rbenv/shims:\
/Users/deepu/.rvm/gems/ruby-2.0.0-p0/bin:/Users/deepu/.rvm/gems/ruby-2.0.0-p0@global/bin:\
/Users/deepu/.rvm/rubies/ruby-2.0.0-p0/bin:/Users/deepu/.rvm/bin:/usr/bin:/bin:/usr/sbin:/sbin:\
/usr/local/bin:$GROOVY_HOME/bin:~/tools/scripts:.

So there seems to be some other problem. Do you have any thoughts?

from maximum-awesome.

stone2083 avatar stone2083 commented on July 19, 2024

maybe brew update failed.
I installed subversion in an old version, then it failed when using brew update command.

brew update
terror: Your local changes to the following files would be overwritten by merge:
Library/Formula/subversion.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

I commented the code, it's ok.

unless system('which brew > /dev/null && brew update || ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"')
# raise "Homebrew must be installed before continuing."
end

from maximum-awesome.

ojingo avatar ojingo commented on July 19, 2024

same problem here... homebrew already installed - rake failed.

-- Homebrew --------------------------------------------------------------------

error: Your local changes to the following files would be overwritten by merge:
    Library/Formula/icu4c.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
It appears Homebrew is already installed. If your intent is to reinstall you
should do the following before running this installer again:
    rm -rf /usr/local/Cellar /usr/local/.git && brew cleanup
rake aborted!
Homebrew must be installed before continuing.
/Users/tmacbook/Unix/maximum-awesome/Rakefile:57

from maximum-awesome.

WarFox avatar WarFox commented on July 19, 2024

Thank you @stone2083. As you said the brew update was failing.

brew update
error: transfer closed with outstanding read data remaining while accessing https://github.com/mxcl/homebrew/info/refs?service=git-upload-pack
fatal: HTTP request failed
Error: Failure while executing: git pull -q origin refs/heads/master:refs/remotes/origin/master

This should be some temporary issue with brew update.

I commented the following lines(56,57,58) in Rakefile and successfully ran rake.

step 'Homebrew'
#unless system('which brew > /dev/null && brew update || ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"')
#raise "Homebrew must be installed before continuing."
#end

Now my vim looks awesome!

Thanks again for the awesomeness.

from maximum-awesome.

airbob avatar airbob commented on July 19, 2024

same problem here, thanks @WarFox , after commenting line56,57,58 it works as well,

from maximum-awesome.

ojingo avatar ojingo commented on July 19, 2024

I went in a fixed some of the HomeBrew complaints - then this stuff ran just fine... didn't have to delete those lines myself. Working now! thanks. ( obviously tho anyone with Homebrew issues needs to fix those first before doing this )

from maximum-awesome.

strongriley avatar strongriley commented on July 19, 2024

Sorry about that. Should be fixed by #44 that just got merged in.

Closing. (Please re-open if that didn't fix it.)

from maximum-awesome.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.