From: Ryan Davis Date: 2012-07-22T09:54:13+09:00 Subject: Re: Homebrew iProblem On Jul 21, 2012, at 15:33 , Ja Tse wrote: > Can anyone tell me what's going on here ? I have reinstalled xCode and > homebrew and I still get the same error. > > > ~$> > brew install rbenv > ==> Downloading https://github.com/sstephenson/rbenv/tarball/v0.3.0 > 0.0%Warning: > Failed to create the file /Library/Caches/Homebrew/rbenv-0.3.0.tgz: > Warning: Permission denied > ############### > 21.1% > curl: (23) Failed writing body (0 != 2896) > Error: Download failed: > https://github.com/sstephenson/rbenv/tarball/v0.3.0 > ~$> These are two separate errors. Fix the xcode one first to make sure that it isn't masking a permissions error. > And brew doctor shos this error. > > ~$> brew doctor > > Error: Experimental support for using Xcode without the "Command Line > Tools". Xcode -> Prefs -> downloads -> components -> command-line tools