Using dub

Rikki Cattermole via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Jan 28 16:42:55 PST 2015


On 29/01/2015 1:24 p.m., Joel wrote:
> On Wednesday, 28 January 2015 at 23:48:52 UTC, Rikki Cattermole wrote:
>> On 29/01/2015 11:27 a.m., Joel wrote:
>>>>
>>>> When I setup dub/dmd on my OSX install, I used the OSX packages and it
>>>> should already be on the PATH variable.
>>>
>>> What packages? I'm new to Mac OS.
>> Ohh, I was meaning a dmg.
>> But ugh looks like I lied, my bad, only had to do it once.
>> Looks like I used brew[0].
>> Just install dub, dmd will go along right with it as a dependency.
>>
>> [0] http://brew.sh/
>
> Do I just put 'brew dub'?

First install brew then
$ brew install dub

 From that it should just be dub to run.
Don't forget to restart terminal afterwards or just rerun bash.
If dub isn't found, PATH variable will need to be changed via .bashrc. 
But I'm doubting its needed to be done.


More information about the Digitalmars-d-learn mailing list