Closed boutil closed 10 years ago
hi,
When I run bin/dbf (on Debian), I get the following error:
/usr/bin/env: ruby -s: No such file or directory
It seems that env cannot use an interpreter with a switch. As a temporary workaround, I use #!/usr/bin/ruby -s as shebang.
I know that -s is very convenient to do cheap option parsing. But could you consider porting the script to some standard solution, like optparse?
Thanks!
That's unfortunate. I will look into a work around.
For research/reference: https://www.ruby-forum.com/topic/96121
hi,
When I run bin/dbf (on Debian), I get the following error:
It seems that env cannot use an interpreter with a switch. As a temporary workaround, I use #!/usr/bin/ruby -s as shebang.
I know that -s is very convenient to do cheap option parsing. But could you consider porting the script to some standard solution, like optparse?
Thanks!