Installing DUB on OSX

John Colvin via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Feb 18 08:33:51 PST 2016


On Thursday, 18 February 2016 at 07:52:11 UTC, Joel wrote:
> On Thursday, 18 February 2016 at 07:11:23 UTC, Joel wrote:
>> I had dub installed in a folder that meant I had to put 'sudo 
>> dub' to run it. I've tried to fix the problem, but where do 
>> you put it (also I tried one place, but couldn't put it in 
>> that folder)?
>
> I've now tried 'brew install dub' and 'brew upgrade dub', but 
> they come up with, 'Warning: dub-0.9.22 already installed', or 
> 'Error: dub 0.9.22 already installed'.

Sounds like you have some problems with your homebrew. What does 
`brew doctor` give? Did you accidentally use `sudo brew` at some 
point?


More information about the Digitalmars-d-learn mailing list