作者gogojimmy (gogo吉米)
看板Ruby
標題[問題] 無法安裝homebrew
時間Sat Sep 10 23:05:52 2011
雖然這好像無關ruby...但找不到地方問orz
我重灌了mbp,將整顆硬碟格式化後安裝了lion
安裝了developer官網上的Xcode 4.2
然後安裝homebrew
安裝完馬上brew install git..
結果出現
==> Downloading http://kernel.org/pub/software/scm/git/git-1.7.6.1.tar.bz2
curl: (22) The requested URL returned error: 503
Error: Failure while executing: /usr/bin/curl -f#LA Homebrew\ 0.8\
(Ruby\ 1.8.7-249;\ Mac\ OS\ X\ 10.7.1)
http://kernel.org/pub/software/scm/git
/git-1.7.6.1.tar.bz2 -o /Users/jimmy/Library/Caches/Homebrew/git-1.7.6.1.tar.
bz2
試著用brew docotor檢查
出現
fatal: Not a git repository (or any of the parent directories): .git
==> You should brew install these missing dependencies:
Error: No such file or directory - /usr/local/Cellar
我把xcode移除安裝appstore上的也是一樣情況
請問...這要如何解決呢?
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 218.210.40.135
1F:→ aquarianboy:Down for maintenance 09/11 00:13
2F:→ aquarianboy:curl出現503了啊 :) 09/11 00:13
4F:→ ihower:手動改homebrew的formula換個可以連的url吧,github有mirror 09/11 11:37