first off, i'm sorry silly mistakes on part. i'm starting onemonthrails, , new me. problem homebrew , git. i'm told problem has environmental variables, , i've done enough research confident correct. ok, here's details:
i've tried install homebrew, ran snag xcode being absent. running osx 10.6.8, , had upgrade @ least 10.7.x install latest xcode. upgraded osx 10.8.4 , installed xcode , reran following line
$ ruby -e "$(curl -fssl https://raw.github.com/mxcl/homebrew/go)"
i following script:
==> installation successful! should run `brew doctor' *before* install anything. type: brew
i installing homebrew can install imagemagick in order run paperclip gem, take advice of terminal running $ brew doctor.
$ brew doctor
produces line
warning: experimental support using xcode without "command line tools". have installed xcode. if stuff not building, try installing "command line tools" package provided apple. warning: broken symlinks found. remove them `brew prune`:
///long list of broken symlinks///
warning: outdated version of git detected in path. git 1.7.10 or newer required perform checkouts on https github. please upgrade: brew upgrade git
i want know git version run following script:
$ git --version
and produces following line:
git version 1.7.9.6
i identify git located:
$ git
and brings:
/opt/sm/pkg/active/bin/git
after more research, find out can upgrade git following script:
$ brew install git
the final line of resulting script warning:
warning: keg marked linked already, continuing anyway ==> summary 🍺 /usr/local/cellar/git/1.8.3.2: 1325 files, 28m, built in 45 seconds
i verify git upgrade
$ git --version git version 1.7.9.6
sudo think...maybe need run upgrade instead of install.
///restart computer///
$ brew upgrade git error: git-1.8.3.2 installed
hmm... try doctor again
$ brew doctor warning: experimental support using xcode without "command line tools". have installed xcode. if stuff not building, try installing "command line tools" package provided apple. warning: "config" scripts exist outside system or homebrew directories. `./configure` scripts *-config scripts determine if software packages installed, , additional flags use when compiling , linking. $ git --version git version 1.8.3.2
yay! did right! finish homebrew can move on installing imagemagick:
$ brew doctor warning: experimental support using xcode without "command line tools". have installed xcode. if stuff not building, try installing "command line tools" package provided apple. warning: "config" scripts exist outside system or homebrew directories. `./configure` scripts *-config scripts determine if software packages installed, , additional flags use when compiling , linking.
arrg... installed xcode. how install command line tools? , config warning? check on stackoverflow, , leads me here: (.../questions/15225312/brew-doctor-gives-out-warnings)
i don't know i'm doing, following kinda stupid
$ $path
nope
$ echo $path
nothing...
$ export path=/sm/pkg/active/bin/
nothing
$ export path= /sm/pkg/active/bin/ -bash: export: `/sm/pkg/active/bin/': not valid identifier
(notice space after =)
i realize how don't know i'm doing, ask help
$ brew -bash: brew: no such file or directory
uh oh...
$ brew doctor -bash: brew: no such file or directory
i think broke computer, guys. should do??? need homebrew functioning can install imagemagick image processor , use paperclip gem in rails.
:((
i know it's super frustrating , confusing work. been there, done that.
there couple things @ play here, take them 1 @ time (in fact. i'm guessing stuff i'm happy update answer let me know more)
let's start with:
warning: experimental support using xcode without "command line tools". have installed xcode. if stuff not building, try installing "command line tools" package provided apple.
installing command line tools highly recommended. it's going install gcc , other tools compile code homebrew downloads.
- open xcode.
- open preferences.
- on top bar, choose "downloads"
- install "command line tools"
second, i'm not sure how quite blew away path. first see if messed terminal , if close , start new terminal window if path okay.
however, failing that, here's path has basic search paths on way:
export path=/usr/local/bin:/usr/bin:/bin:/sbin:/usr/sbin:/usr/local/sbin
you should check .zshrc/.zsh_profile or .bashrc/.bash_profile , see setting path to.
you won't want space on either side of =
when typing command.
Comments
Post a Comment