Include option doesn't work
agrimm opened this issue · 0 comments
agrimm commented
How is include supposed to work?
$ laser -Ilib lib/barcode_list.rb
Error: option '-l' needs a parameter.
Try --help for help.
$ laser --includelib lib/barcode_list.rb
Error: unknown argument '--includelib'.
Try --help for help.
$ laser --include=lib lib/barcode_list.rb
/Users/agrimm/.rvm/gems/ruby-head/gems/laser-0.7.0.pre2/lib/laser/runner.rb:58:in `handle_global_options': undefined method `reverse' for true:TrueClass (NoMethodError)
from /Users/agrimm/.rvm/gems/ruby-head/gems/laser-0.7.0.pre2/lib/laser/runner.rb:26:in `block in collect_options_and_arguments'
from /Users/agrimm/.rvm/gems/ruby-head/gems/laser-0.7.0.pre2/lib/laser/runner.rb:147:in `swizzling_argv'
from /Users/agrimm/.rvm/gems/ruby-head/gems/laser-0.7.0.pre2/lib/laser/runner.rb:24:in `collect_options_and_arguments'
from /Users/agrimm/.rvm/gems/ruby-head/gems/laser-0.7.0.pre2/lib/laser/runner.rb:12:in `run'
from /Users/agrimm/.rvm/gems/ruby-head/gems/laser-0.7.0.pre2/bin/laser:7:in `<top (required)>'
from /Users/agrimm/.rvm/gems/ruby-head/bin/laser:19:in `load'
from /Users/agrimm/.rvm/gems/ruby-head/bin/laser:19:in `<main>'
$ laser --include lib lib/barcode_list.rb
/Users/agrimm/.rvm/gems/ruby-head/gems/laser-0.7.0.pre2/lib/laser/runner.rb:58:in `handle_global_options': undefined method `reverse' for true:TrueClass (NoMethodError)
from /Users/agrimm/.rvm/gems/ruby-head/gems/laser-0.7.0.pre2/lib/laser/runner.rb:26:in `block in collect_options_and_arguments'
from /Users/agrimm/.rvm/gems/ruby-head/gems/laser-0.7.0.pre2/lib/laser/runner.rb:147:in `swizzling_argv'
from /Users/agrimm/.rvm/gems/ruby-head/gems/laser-0.7.0.pre2/lib/laser/runner.rb:24:in `collect_options_and_arguments'
from /Users/agrimm/.rvm/gems/ruby-head/gems/laser-0.7.0.pre2/lib/laser/runner.rb:12:in `run'
from /Users/agrimm/.rvm/gems/ruby-head/gems/laser-0.7.0.pre2/bin/laser:7:in `<top (required)>'
from /Users/agrimm/.rvm/gems/ruby-head/bin/laser:19:in `load'
from /Users/agrimm/.rvm/gems/ruby-head/bin/laser:19:in `<main>'