www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Using dub

reply "Joel" <joelcnz gmail.com> writes:
I'm having trouble using dub. Nothing seems to work (-h works 
though). I would like an example or two of how to get an app 
going (stand alone for now). I'm using the Mac OS.
Jan 26 2015
parent reply Rikki Cattermole <alphaglosined gmail.com> writes:
On 27/01/2015 8:03 p.m., Joel wrote:
 I'm having trouble using dub. Nothing seems to work (-h works though). I
 would like an example or two of how to get an app going (stand alone for
 now). I'm using the Mac OS.
Lets use Devisualization.Window as an example. Assuming in a safe directory and dmd/dub on PATH variable: $ git clone https://github.com/Devisualization/window.git $ cd window $ dub build de_window:test $ ./de_window_test For simple test app: $ mkdir myapp $ cd myapp $ dub init $ nano source/app.d // edit // ctrl + x, y $ dub build $ ./myapp // or $ dub run
Jan 26 2015
parent reply "Joel" <joelcnz gmail.com> writes:
On Tuesday, 27 January 2015 at 07:25:18 UTC, Rikki Cattermole
wrote:
 On 27/01/2015 8:03 p.m., Joel wrote:
 I'm having trouble using dub. Nothing seems to work (-h works 
 though). I
 would like an example or two of how to get an app going (stand 
 alone for
 now). I'm using the Mac OS.
Lets use Devisualization.Window as an example. Assuming in a safe directory and dmd/dub on PATH variable: $ git clone https://github.com/Devisualization/window.git $ cd window $ dub build de_window:test $ ./de_window_test For simple test app: $ mkdir myapp $ cd myapp $ dub init $ nano source/app.d // edit // ctrl + x, y $ dub build $ ./myapp // or $ dub run
I get this (dub isn't in the path): Joels-MacBook-Pro:window joelcnz$ ../dub build de_window:test Failed to parse package description in /Users/joelcnz/.dub/packages/dil-master Failed to load package in /Users/joelcnz/.dub/packages/dil-master: Got .excludedSourceFiles of type string - expected array. Failed to parse package description in /Users/joelcnz/.dub/packages/dplug-0.0.2 Failed to load package in /Users/joelcnz/.dub/packages/dplug-0.0.2: Expected version number in version spec: * Failed to parse package description in /Users/joelcnz/.dub/packages/gfm-1.1.6 Failed to load package in /Users/joelcnz/.dub/packages/gfm-1.1.6: Expected version number in version spec: * Failed to parse package description in /Users/joelcnz/.dub/packages/gfm-1.3.3 Failed to load package in /Users/joelcnz/.dub/packages/gfm-1.3.3: Expected version number in version spec: * Failed to parse package description in /Users/joelcnz/.dub/packages/dil-master Failed to load package in /Users/joelcnz/.dub/packages/dil-master: Got .excludedSourceFiles of type string - expected array. Failed to parse package description in /Users/joelcnz/.dub/packages/dplug-0.0.2 Failed to load package in /Users/joelcnz/.dub/packages/dplug-0.0.2: Expected version number in version spec: * Failed to parse package description in /Users/joelcnz/.dub/packages/gfm-1.1.6 Failed to load package in /Users/joelcnz/.dub/packages/gfm-1.1.6: Expected version number in version spec: * Failed to parse package description in /Users/joelcnz/.dub/packages/gfm-1.3.3 Failed to load package in /Users/joelcnz/.dub/packages/gfm-1.3.3: Expected version number in version spec: * Failed to parse package description in /Users/joelcnz/jpro/dpro2/OtherPeoples/window Failed to parse package description in /Users/joelcnz/.dub/packages/dil-master Failed to load package in /Users/joelcnz/.dub/packages/dil-master: Got .excludedSourceFiles of type string - expected array. Failed to parse package description in /Users/joelcnz/.dub/packages/dplug-0.0.2 Failed to load package in /Users/joelcnz/.dub/packages/dplug-0.0.2: Expected version number in version spec: * Failed to parse package description in /Users/joelcnz/.dub/packages/gfm-1.1.6 Failed to load package in /Users/joelcnz/.dub/packages/gfm-1.1.6: Expected version number in version spec: * Failed to parse package description in /Users/joelcnz/.dub/packages/gfm-1.3.3 Failed to load package in /Users/joelcnz/.dub/packages/gfm-1.3.3: Expected version number in version spec: * Failed to parse package description in /Users/joelcnz/.dub/packages/dil-master Failed to load package in /Users/joelcnz/.dub/packages/dil-master: Got .excludedSourceFiles of type string - expected array. Failed to parse package description in /Users/joelcnz/.dub/packages/dplug-0.0.2 Failed to load package in /Users/joelcnz/.dub/packages/dplug-0.0.2: Expected version number in version spec: * Failed to parse package description in /Users/joelcnz/.dub/packages/gfm-1.1.6 Failed to load package in /Users/joelcnz/.dub/packages/gfm-1.1.6: Expected version number in version spec: * Failed to parse package description in /Users/joelcnz/.dub/packages/gfm-1.3.3 Failed to load package in /Users/joelcnz/.dub/packages/gfm-1.3.3: Expected version number in version spec: * Failed to parse package description in /Users/joelcnz/jpro/dpro2/OtherPeoples/window Error executing command build: Expected version number in version spec: *
Jan 26 2015
parent reply Rikki Cattermole <alphaglosined gmail.com> writes:
On 27/01/2015 8:40 p.m., Joel wrote:
 On Tuesday, 27 January 2015 at 07:25:18 UTC, Rikki Cattermole
 wrote:
 On 27/01/2015 8:03 p.m., Joel wrote:
 I'm having trouble using dub. Nothing seems to work (-h works though). I
 would like an example or two of how to get an app going (stand alone for
 now). I'm using the Mac OS.
Lets use Devisualization.Window as an example. Assuming in a safe directory and dmd/dub on PATH variable: $ git clone https://github.com/Devisualization/window.git $ cd window $ dub build de_window:test $ ./de_window_test For simple test app: $ mkdir myapp $ cd myapp $ dub init $ nano source/app.d // edit // ctrl + x, y $ dub build $ ./myapp // or $ dub run
I get this (dub isn't in the path): Joels-MacBook-Pro:window joelcnz$ ../dub build de_window:test Failed to parse package description in /Users/joelcnz/.dub/packages/dil-master Failed to load package in /Users/joelcnz/.dub/packages/dil-master: Got .excludedSourceFiles of type string - expected array. Failed to parse package description in /Users/joelcnz/.dub/packages/dplug-0.0.2 Failed to load package in /Users/joelcnz/.dub/packages/dplug-0.0.2: Expected version number in version spec: * Failed to parse package description in /Users/joelcnz/.dub/packages/gfm-1.1.6 Failed to load package in /Users/joelcnz/.dub/packages/gfm-1.1.6: Expected version number in version spec: * Failed to parse package description in /Users/joelcnz/.dub/packages/gfm-1.3.3 Failed to load package in /Users/joelcnz/.dub/packages/gfm-1.3.3: Expected version number in version spec: * Failed to parse package description in /Users/joelcnz/.dub/packages/dil-master Failed to load package in /Users/joelcnz/.dub/packages/dil-master: Got .excludedSourceFiles of type string - expected array. Failed to parse package description in /Users/joelcnz/.dub/packages/dplug-0.0.2 Failed to load package in /Users/joelcnz/.dub/packages/dplug-0.0.2: Expected version number in version spec: * Failed to parse package description in /Users/joelcnz/.dub/packages/gfm-1.1.6 Failed to load package in /Users/joelcnz/.dub/packages/gfm-1.1.6: Expected version number in version spec: * Failed to parse package description in /Users/joelcnz/.dub/packages/gfm-1.3.3 Failed to load package in /Users/joelcnz/.dub/packages/gfm-1.3.3: Expected version number in version spec: * Failed to parse package description in /Users/joelcnz/jpro/dpro2/OtherPeoples/window Failed to parse package description in /Users/joelcnz/.dub/packages/dil-master Failed to load package in /Users/joelcnz/.dub/packages/dil-master: Got .excludedSourceFiles of type string - expected array. Failed to parse package description in /Users/joelcnz/.dub/packages/dplug-0.0.2 Failed to load package in /Users/joelcnz/.dub/packages/dplug-0.0.2: Expected version number in version spec: * Failed to parse package description in /Users/joelcnz/.dub/packages/gfm-1.1.6 Failed to load package in /Users/joelcnz/.dub/packages/gfm-1.1.6: Expected version number in version spec: * Failed to parse package description in /Users/joelcnz/.dub/packages/gfm-1.3.3 Failed to load package in /Users/joelcnz/.dub/packages/gfm-1.3.3: Expected version number in version spec: * Failed to parse package description in /Users/joelcnz/.dub/packages/dil-master Failed to load package in /Users/joelcnz/.dub/packages/dil-master: Got .excludedSourceFiles of type string - expected array. Failed to parse package description in /Users/joelcnz/.dub/packages/dplug-0.0.2 Failed to load package in /Users/joelcnz/.dub/packages/dplug-0.0.2: Expected version number in version spec: * Failed to parse package description in /Users/joelcnz/.dub/packages/gfm-1.1.6 Failed to load package in /Users/joelcnz/.dub/packages/gfm-1.1.6: Expected version number in version spec: * Failed to parse package description in /Users/joelcnz/.dub/packages/gfm-1.3.3 Failed to load package in /Users/joelcnz/.dub/packages/gfm-1.3.3: Expected version number in version spec: * Failed to parse package description in /Users/joelcnz/jpro/dpro2/OtherPeoples/window Error executing command build: Expected version number in version spec: *
Try again after doing: $ rm -rf ~/.dub Something seems ugh, weird. If that doesn't, than its time for dub bug reporting.
Jan 26 2015
parent reply "Joel" <joelcnz gmail.com> writes:
On Tuesday, 27 January 2015 at 07:44:12 UTC, Rikki Cattermole
wrote:
 On 27/01/2015 8:40 p.m., Joel wrote:
 On Tuesday, 27 January 2015 at 07:25:18 UTC, Rikki Cattermole
 wrote:
 On 27/01/2015 8:03 p.m., Joel wrote:
 I'm having trouble using dub. Nothing seems to work (-h 
 works though). I
 would like an example or two of how to get an app going 
 (stand alone for
 now). I'm using the Mac OS.
Lets use Devisualization.Window as an example. Assuming in a safe directory and dmd/dub on PATH variable: $ git clone https://github.com/Devisualization/window.git $ cd window $ dub build de_window:test $ ./de_window_test For simple test app: $ mkdir myapp $ cd myapp $ dub init $ nano source/app.d // edit // ctrl + x, y $ dub build $ ./myapp // or $ dub run
I get this (dub isn't in the path): Joels-MacBook-Pro:window joelcnz$ ../dub build de_window:test Failed to parse package description in /Users/joelcnz/.dub/packages/dil-master Failed to load package in /Users/joelcnz/.dub/packages/dil-master: Got .excludedSourceFiles of type string - expected array. Failed to parse package description in /Users/joelcnz/.dub/packages/dplug-0.0.2 Failed to load package in /Users/joelcnz/.dub/packages/dplug-0.0.2: Expected version number in version spec: * Failed to parse package description in /Users/joelcnz/.dub/packages/gfm-1.1.6 Failed to load package in /Users/joelcnz/.dub/packages/gfm-1.1.6: Expected version number in version spec: * Failed to parse package description in /Users/joelcnz/.dub/packages/gfm-1.3.3 Failed to load package in /Users/joelcnz/.dub/packages/gfm-1.3.3: Expected version number in version spec: * Failed to parse package description in /Users/joelcnz/.dub/packages/dil-master Failed to load package in /Users/joelcnz/.dub/packages/dil-master: Got .excludedSourceFiles of type string - expected array. Failed to parse package description in /Users/joelcnz/.dub/packages/dplug-0.0.2 Failed to load package in /Users/joelcnz/.dub/packages/dplug-0.0.2: Expected version number in version spec: * Failed to parse package description in /Users/joelcnz/.dub/packages/gfm-1.1.6 Failed to load package in /Users/joelcnz/.dub/packages/gfm-1.1.6: Expected version number in version spec: * Failed to parse package description in /Users/joelcnz/.dub/packages/gfm-1.3.3 Failed to load package in /Users/joelcnz/.dub/packages/gfm-1.3.3: Expected version number in version spec: * Failed to parse package description in /Users/joelcnz/jpro/dpro2/OtherPeoples/window Failed to parse package description in /Users/joelcnz/.dub/packages/dil-master Failed to load package in /Users/joelcnz/.dub/packages/dil-master: Got .excludedSourceFiles of type string - expected array. Failed to parse package description in /Users/joelcnz/.dub/packages/dplug-0.0.2 Failed to load package in /Users/joelcnz/.dub/packages/dplug-0.0.2: Expected version number in version spec: * Failed to parse package description in /Users/joelcnz/.dub/packages/gfm-1.1.6 Failed to load package in /Users/joelcnz/.dub/packages/gfm-1.1.6: Expected version number in version spec: * Failed to parse package description in /Users/joelcnz/.dub/packages/gfm-1.3.3 Failed to load package in /Users/joelcnz/.dub/packages/gfm-1.3.3: Expected version number in version spec: * Failed to parse package description in /Users/joelcnz/.dub/packages/dil-master Failed to load package in /Users/joelcnz/.dub/packages/dil-master: Got .excludedSourceFiles of type string - expected array. Failed to parse package description in /Users/joelcnz/.dub/packages/dplug-0.0.2 Failed to load package in /Users/joelcnz/.dub/packages/dplug-0.0.2: Expected version number in version spec: * Failed to parse package description in /Users/joelcnz/.dub/packages/gfm-1.1.6 Failed to load package in /Users/joelcnz/.dub/packages/gfm-1.1.6: Expected version number in version spec: * Failed to parse package description in /Users/joelcnz/.dub/packages/gfm-1.3.3 Failed to load package in /Users/joelcnz/.dub/packages/gfm-1.3.3: Expected version number in version spec: * Failed to parse package description in /Users/joelcnz/jpro/dpro2/OtherPeoples/window Error executing command build: Expected version number in version spec: *
Try again after doing: $ rm -rf ~/.dub Something seems ugh, weird. If that doesn't, than its time for dub bug reporting.
I've tried an earlier version of dub, similar problem. It was better another time I tried it. I got this now (I didn't do any thing to the dub file): Joels-MacBook-Pro:window joelcnz$ ../../dub build de_window:test Failed to parse package description for dil in /Users/joelcnz/.dub/packages/dil-master/. Failed to load package in /Users/joelcnz/.dub/packages/dil-master/: Got .excludedSourceFiles of type string - expected array. Failed to parse package description for dil in /Users/joelcnz/.dub/packages/dil-master/. Failed to load package in /Users/joelcnz/.dub/packages/dil-master/: Got .excludedSourceFiles of type string - expected array. Building package de_window:test in /Users/joelcnz/jpro/dpro2/OtherPeoples/window/ Failed to parse package description for dil in /Users/joelcnz/.dub/packages/dil-master/. Failed to load package in /Users/joelcnz/.dub/packages/dil-master/: Got .excludedSourceFiles of type string - expected array. Fetching de_util 0.0.4 (getting selected version)... Placing de_util 0.0.4 to /Users/joelcnz/.dub/packages/... Fetching x11 1.0.5 (getting selected version)... Placing x11 1.0.5 to /Users/joelcnz/.dub/packages/... Fetching de_image 0.3.4 (getting selected version)... Placing de_image 0.3.4 to /Users/joelcnz/.dub/packages/... Fetching derelict-util 1.9.0 (getting selected version)... Placing derelict-util 1.9.0 to /Users/joelcnz/.dub/packages/... Fetching derelict-gl3 1.0.12 (getting selected version)... Placing derelict-gl3 1.0.12 to /Users/joelcnz/.dub/packages/... Failed to parse package description for dil in /Users/joelcnz/.dub/packages/dil-master/. Failed to load package in /Users/joelcnz/.dub/packages/dil-master/: Got .excludedSourceFiles of type string - expected array. Building de_util:core 0.0.4 configuration "library", build type debug. Running dmd... Building de_image:interfaces 0.3.4 configuration "library", build type debug. Running dmd... Building de_image:mutable 0.3.4 configuration "library", build type debug. Running dmd... Building x11 1.0.5 configuration "library", build type debug. Running dmd... Building de_window:interfaces 0.0.8 configuration "library", build type debug. Running dmd... Building derelict-util 1.9.0 configuration "library", build type debug. Running dmd... Building derelict-gl3 1.0.12 configuration "library", build type debug. Running dmd... Building de_window:test 0.0.8 configuration "application", build type debug. Compiling using dmd... Linking... Joels-MacBook-Pro:window joelcnz$
Jan 27 2015
parent reply "Joel" <joelcnz gmail.com> writes:
Oope, yeah, and it ran.
Jan 27 2015
parent reply "Joel" <joelcnz gmail.com> writes:
On Tuesday, 27 January 2015 at 08:08:19 UTC, Joel wrote:
 Oope, yeah, and it ran.
Thanks Rikki, I wiped off the dub installation. Now, no errors. The small program worked too. I don't now how to set up the dub executable to work with out doing stuff like this - '../dub' (Mac OS 10.10.1) Joels-MacBook-Pro:window joelcnz$ ../../dub build de_window:test Building package de_window:test in /Users/joelcnz/jpro/dpro2/OtherPeoples/window/ Fetching de_util 0.0.4 (getting selected version)... Placing de_util 0.0.4 to /Users/joelcnz/.dub/packages/... Fetching x11 1.0.5 (getting selected version)... Placing x11 1.0.5 to /Users/joelcnz/.dub/packages/... Fetching de_image 0.3.4 (getting selected version)... Placing de_image 0.3.4 to /Users/joelcnz/.dub/packages/... Fetching derelict-util 1.9.0 (getting selected version)... Placing derelict-util 1.9.0 to /Users/joelcnz/.dub/packages/... Fetching derelict-gl3 1.0.12 (getting selected version)... Placing derelict-gl3 1.0.12 to /Users/joelcnz/.dub/packages/... Building de_util:core 0.0.4 configuration "library", build type debug. Running dmd... Building de_image:interfaces 0.3.4 configuration "library", build type debug. Running dmd... Building de_image:mutable 0.3.4 configuration "library", build type debug. Running dmd... Building x11 1.0.5 configuration "library", build type debug. Running dmd... Building de_window:interfaces 0.0.8 configuration "library", build type debug. Running dmd... Building derelict-util 1.9.0 configuration "library", build type debug. Running dmd... Building derelict-gl3 1.0.12 configuration "library", build type debug. Running dmd... Building de_window:test 0.0.8 configuration "application", build type debug. Compiling using dmd... Linking... Joels-MacBook-Pro:window joelcnz$ ls LICENSE dub.json README.md dub.selections.json WindowsAPI interfaces cocoa_library libde_window_interfaces.a de_window_test platforms dub test
Jan 27 2015
next sibling parent reply "Joel" <joelcnz gmail.com> writes:
On Wednesday, 28 January 2015 at 00:34:13 UTC, Joel wrote:
 On Tuesday, 27 January 2015 at 08:08:19 UTC, Joel wrote:
 Oope, yeah, and it ran.
Thanks Rikki, I wiped off the dub installation. Now, no errors. The small program worked too.
Actually I got this with dlangui, (I followed the instructions on the announce post): Joels-MacBook-Pro:dlangui joelcnz$ ../../dub run dlangui:example1 Failed to parse package description in /Users/joelcnz/jpro/dpro2/OtherPeoples/dlangui Failed to parse package description in /Users/joelcnz/jpro/dpro2/OtherPeoples/dlangui Error executing command run: Expected version number in version spec: *
Jan 27 2015
parent Rikki Cattermole <alphaglosined gmail.com> writes:
On 28/01/2015 2:14 p.m., Joel wrote:
 On Wednesday, 28 January 2015 at 00:34:13 UTC, Joel wrote:
 On Tuesday, 27 January 2015 at 08:08:19 UTC, Joel wrote:
 Oope, yeah, and it ran.
Thanks Rikki, I wiped off the dub installation. Now, no errors. The small program worked too.
Actually I got this with dlangui, (I followed the instructions on the announce post): Joels-MacBook-Pro:dlangui joelcnz$ ../../dub run dlangui:example1 Failed to parse package description in /Users/joelcnz/jpro/dpro2/OtherPeoples/dlangui Failed to parse package description in /Users/joelcnz/jpro/dpro2/OtherPeoples/dlangui Error executing command run: Expected version number in version spec: *
Ehhh check dub version. * should work fine.
Jan 28 2015
prev sibling parent reply Rikki Cattermole <alphaglosined gmail.com> writes:
On 28/01/2015 1:34 p.m., Joel wrote:
 On Tuesday, 27 January 2015 at 08:08:19 UTC, Joel wrote:
 Oope, yeah, and it ran.
Thanks Rikki, I wiped off the dub installation. Now, no errors. The small program worked too. I don't now how to set up the dub executable to work with out doing stuff like this - '../dub' (Mac OS 10.10.1) Joels-MacBook-Pro:window joelcnz$ ../../dub build de_window:test Building package de_window:test in /Users/joelcnz/jpro/dpro2/OtherPeoples/window/ Fetching de_util 0.0.4 (getting selected version)... Placing de_util 0.0.4 to /Users/joelcnz/.dub/packages/... Fetching x11 1.0.5 (getting selected version)... Placing x11 1.0.5 to /Users/joelcnz/.dub/packages/... Fetching de_image 0.3.4 (getting selected version)... Placing de_image 0.3.4 to /Users/joelcnz/.dub/packages/... Fetching derelict-util 1.9.0 (getting selected version)... Placing derelict-util 1.9.0 to /Users/joelcnz/.dub/packages/... Fetching derelict-gl3 1.0.12 (getting selected version)... Placing derelict-gl3 1.0.12 to /Users/joelcnz/.dub/packages/... Building de_util:core 0.0.4 configuration "library", build type debug. Running dmd... Building de_image:interfaces 0.3.4 configuration "library", build type debug. Running dmd... Building de_image:mutable 0.3.4 configuration "library", build type debug. Running dmd... Building x11 1.0.5 configuration "library", build type debug. Running dmd... Building de_window:interfaces 0.0.8 configuration "library", build type debug. Running dmd... Building derelict-util 1.9.0 configuration "library", build type debug. Running dmd... Building derelict-gl3 1.0.12 configuration "library", build type debug. Running dmd... Building de_window:test 0.0.8 configuration "application", build type debug. Compiling using dmd... Linking... Joels-MacBook-Pro:window joelcnz$ ls LICENSE dub.json README.md dub.selections.json WindowsAPI interfaces cocoa_library libde_window_interfaces.a de_window_test platforms dub test
When I setup dub/dmd on my OSX install, I used the OSX packages and it should already be on the PATH variable.
Jan 28 2015
parent reply "Joel" <joelcnz gmail.com> writes:
 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.
Jan 28 2015
parent reply Rikki Cattermole <alphaglosined gmail.com> writes:
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/
Jan 28 2015
parent reply "Joel" <joelcnz gmail.com> writes:
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'?
Jan 28 2015
parent reply Rikki Cattermole <alphaglosined gmail.com> writes:
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.
Jan 28 2015
parent "Joel" <joelcnz gmail.com> writes:
 [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.
Yay! Seems to be working well! Though, I didn't rerun the terminal or any thing. Thanks Rikki!
Jan 28 2015