Live data from Hacker News

Homebrew 1.1.0

brew.sh

61–70 of 216 posts

Re: Homebrew 1.1.0

#64
I have very mixed feelings about homebrew. When it works, it is awesome, but when it doesn't it can be a serious nightmare. In particular, homebrew refuses to run under sudo. Instead, to instal in /usr/local it wants me to recursively chown /usr/local to myself, which is a Really Bad Idea (tm). I have mostly stopped using it for this reason.

I understand that running a program that runs third-party scripts under sudo is a security nightmare, but there has to be a better solution than globally chowning /usr/local.

[UPDATE] Apparently, this is no longer the case. Good to know!

[UPDATE2] Alas, the problem seems to not have been fully addressed. You still need to chown /usr/local/bin :-(

Re: Homebrew 1.1.0

#65

Homebrew maintainers are doing a fantastic job, made my life as a developer so much easier! I wanna use this opportunity to "publicly" thank them!

Ditto. I install almost everything via brew and brew cask, and store the list of packages in git. It makes setting up a new machine a breeze. Thanks for all your hard work!

Re: Homebrew 1.1.0

#66

Earlier quoted context omitted.

> best-practices Wat? How is fundamentally broken dependency management and forcing installed global binaries to be user-owned "best practices"?

Can you rephrase your objection in a less patronising and more constructive way?

[deleted]

Re: Homebrew 1.1.0

#67
post #47
post #31

Earlier quoted context omitted.

Having brew install to ~user would be grand, not just for portability, but also to isolate it across users.

I do this. It's simple enough to install homebrew, to, say, $HOME/.homebrew. I haven't had any problems with this approach, but then, I don't use Ruby, and if I did I wouldn't use homebrew to manage it.

Except when you run Homebrew?

I mean, I understood you, I'm fairly sure brew is the only Ruby command I run on a regular basis...

Re: Homebrew 1.1.0

#68
post #64

I have very mixed feelings about homebrew. When it works, it is awesome, but when it doesn't it can be a serious nightmare. In particular, homebrew refuses to run under sudo. Instead, to instal in /usr/local it wants me to recursively chown /usr/local to myself, which is a Really Bad Idea (tm). I have mostly stopped using it for this reason. I understand that running a program that runs third-party scripts under sudo…

> recursively chown /usr/local to myself

As of 1.0.0: you don't need to do this any more and we don't ask you to.

Re: Homebrew 1.1.0

#70
post #39
post #29

Earlier quoted context omitted.

That's what I thought, but after running that it doesn't log any sort of version update.

I have done brew update and now brew --version reports: Homebrew 1.1.0 Homebrew/homebrew-core (git revision 375a8; last commit 2016-11-07) It did not mention updating to new version in the output of the update command though.

Confirmed. It worked for me too :) Thanks.
Post reply on HN