From: Jam Date: 2012-07-22T21:52:48+09:00 Subject: Re: Homebrew iProblem On Jul 22, 2012, at 6:37 AM, Ja Tse wrote: > I have installed the xCode command-line and brew doctor says all ok, > however I am still getting the error from brew when I try to install > rbenv. > > > ~$> 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 > #################### > 28.5% > curl: (23) Failed writing body (0 != 3909) > Error: Download failed: > https://github.com/sstephenson/rbenv/tarball/v0.3.0 > ~$> brew doctor > Your system is raring to brew. > ~ > $> > > -- > Posted via http://www.ruby-forum.com/. > Ryan answered this; you have a permissions issue. Change the permissions on /Library/Caches/Homebrew.