`mad list` per your blog post doesn't work for me
trentm opened this issue · comments
Trent Mick commented
Abridged version of what I did (apologies if I edited out a salient detail:
git clone https://github.com/visionmedia/mad.git
cd mad
make install PREFIX=$HOME/opt/mad
export PATH=$HOME/opt/mad/bin:$PATH
which mad
mad --update
mad list
The result of mad list
is:
[22:57:59 trentm@banana:~/tmp/mad (master)]
$ mad list
mad pages:
I added set -x
to the mad binary if that helps:
[23:05:40 trentm@banana:~/tmp]
$ mad list
+ VERSION=0.4.0
+ REMOTE=git://github.com/visionmedia/mad-pages.git
+ REMOTE_MAD=git://github.com/visionmedia/mad.git
++ dirname /Users/trentm/opt/mad/bin/mad
+ CONFIG=/Users/trentm/opt/mad/bin/../etc/mad.conf
+ MAD_CONFIG=/Users/trentm/opt/mad/bin/../etc/mad.conf
+ test 1 -eq 0
+ case $1 in
+ list_pages
+ IFS=:
+ local paths=:/usr/local/share/mad:/usr/share/mad
+ echo
+ printf ' \033[1mmad pages:\033[0m\n'
mad pages:
+ echo
+ for path in '$paths'
+ test '!' -z
+ for path in '$paths'
+ test '!' -z /usr/local/share/mad
+ test -d /usr/local/share/mad
+ for path in '$paths'
+ test '!' -z /usr/share/mad
+ test -d /usr/share/mad
+ echo
This is on Mac Snow Leopard.
Dana Moore commented
I'm having the same issue. Anyone know what to do? I'd love to use this.
andrewdeandrade commented
same problem here:
$ pwd
/usr/local/share/npm/share/mad
$ echo $MAD_PATH
/usr/local/share/npm/share/mad:/usr/share/mad:share/mad
$ ls
Readme.md express.md luna.operators.md node.crypto.md node.globals.md node.process.md node.tty.md v8.perf.md
ansi.md http.cache.md mad.md node.debugger.md node.http.md node.querystring.md node.url.md vim.md
ascii.md http.cors.md mime.md node.dgram.md node.https.md node.readline.md node.util.md
bitwise.md http.header.md node.assert.md node.dns.md node.modules.md node.repl.md node.vm.md
c.ctype.md http.status.md node.buffer.md node.domain.md node.net.md node.stream.md node.zlib.md
canvas.md jade.md node.child_process.md node.events.md node.os.md node.timers.md registers.md
errno.md lua.instructions.md node.cluster.md node.fs.md node.path.md node.tls.md unicode.md
$ mad list
mad pages:
mad
$
FWIW, I can open the files just file with something like $mad ansi
. Just $mad list
doesn't work.