[grammarians] s-expression dumper: works

MenTaLguY mental at rydia.net
Sun Nov 27 14:28:32 EST 2005


On Sun, 2005-11-27 at 10:59 -0800, Terence Parr wrote:

> Hmm...having a spot of trouble; can't seem to get past my comments:
> 
> ~/antlr/code/examples-v3/java/ruby $ dump-ruby.rb ../extest
> /usr/local/bin/dump-ruby.rb: line 6: require: command not found

Ah, looks like /bin/sh is trying to interpret dump-ruby.rb.  Because I
failed to add a hashbang line.  Either add an appropriate hashbang line
to dump-ruby.rb, or run dump-ruby.rb explicitly with the interpreter:

 ruby dump-ruby.rb ../extest

-mental
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://rubyforge.org/pipermail/rubygrammar-grammarians/attachments/20051127/ebe1df02/attachment.bin


More information about the Rubygrammar-grammarians mailing list