Error Installing Homebrew - Brew Command Not Found
Error Installing Homebrew - Brew Command Not Found
I've spent the bulk of my Friday trying to get the latest version of Ruby installed on my new MacBook Air (w/ Mountain Lion installed).
I have all the latest versions of XCode and command line tools. But I can't seem to get Homebrew to work! Here's a screenshot of where I keep getting stuck (I'm a new user, so can't embed this image).
As you can see I used the following to instal Homebrew:
ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go/install)" While there was a "warning" it seemed as though the installation worked:
Warning: /usr/local/bin is not in your PATH. ==> Installation successful! Despite that, when I try to run "brew doctor" I received the following:
-bash: brew: command not found Again, I'm trying to install homebrew, so i can instal the latest version of ruby -- I'm looking to learn to code in ruby, but kind of screwed if I can even get a development environment running! :)
Thanks for any help you can offer!
Answer by Daniel Evans for Error Installing Homebrew - Brew Command Not Found
The warning is telling you what is wrong. The problem is that brew is kept in /usr/local/bin
So, you can try /usr/local/bin/brew doctor
To fix it permanently alter your bash profile (.bashrc or .profile in your home directory) and add the following line:
export PATH=/usr/local/bin:$PATH Answer by user3132580 for Error Installing Homebrew - Brew Command Not Found
You can use this:
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" to install homebrew.
Answer by Viji for Error Installing Homebrew - Brew Command Not Found
Check XCode is installed or not.
$ gcc --version $ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" $ brew doctor $brew update. http://techsharehub.blogspot.com/2013/08/brew-command-not-found.html "click here for exact instruction updates"
Answer by Carl Rossman for Error Installing Homebrew - Brew Command Not Found
This was just happening to me, but none of the suggestions above worked. I changed directories ("cd ~/tmp") and suddenly the command
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
worked for me. Prior to changing directories I had been in a directory that is a Git repository. Perhaps that was interfering with the ruby and Git commands in the Brew install script.
Answer by Darex1991 for Error Installing Homebrew - Brew Command Not Found
You can run in terminal
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/linuxbrew/go/install)"
then install https://github.com/robbyrussell/oh-my-zsh.
When those complate run i.e pico editor pico .zshrc and past those lines:
export PATH="$HOME/.linuxbrew/bin:$PATH" export MANPATH="$HOME/.linuxbrew/share/man:$MANPATH" export INFOPATH="$HOME/.linuxbrew/share/info:$INFOPATH" remember use brew doctor :)

Answer by Gary Frey for Error Installing Homebrew - Brew Command Not Found
nano ~/.profile add these lines:
export PATH="$HOME/.linuxbrew/bin:$PATH" export MANPATH="$HOME/.linuxbrew/share/man:$MANPATH" export INFOPATH="$HOME/.linuxbrew/share/info:$INFOPATH" save the file:
Ctrl + X then Y then Enter
then render the changes:
source ~/.profile
Answer by ashutosh kumar for Error Installing Homebrew - Brew Command Not Found
try this
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/linuxbrew/go/install)" Fatal error: Call to a member function getElementsByTagName() on a non-object in D:\XAMPP INSTALLASTION\xampp\htdocs\endunpratama9i\www-stackoverflow-info-proses.php on line 72
0 comments:
Post a Comment