Closed extrawurst closed 8 years ago
ok two mistakes: 1) the content of the script needs to be:
#!/bin/sh
export PATH="$PATH:/usr/local/bin"
dub $*
2) the dub exec in monod cannot resolve ~
so the path has to look like /Users/<user>/monod_dub.sh
I've hit the very same problem. @Extrawurst's solution works well, but the Wiki doesn't say a thing about this.
I may extend the wiki then.
@p0nce http://wiki.dlang.org/Mono-D#Dub_can.27t_find_dmd :smile:
Thanks.
related to #517 i guess. the regular setup with mono-d gives:
after creating a script
monod_dub.sh
in home folder with the following content:and setting dub exec path to
~/monod_dub.sh
gives: