-1

Ruby build system regexp doesn't capture --from

Stian Håklev 13 ár síðan Uppfært 13 ár síðan 0
The build system for Ruby is great, but the regexp doesn't work for all kinds of output, for example with the error code below:

/usr/local/lib/ruby/gems/1.9.1/gems/bibtex-ruby-2.0.4/lib/bibtex/entry.rb:282:in `method_missing': undefined method `BibTeX' for #<BibTeX::Entry:0x00000101190170> (NoMethodError)from /Users/Stian/src/folders2web/bibtex-cleanup.rb:36:in `<main>'
F4 correctly picks up the first error, and goes to the right file/line number, but for the second line, it tries to open the file "from /Users/Stian/src/folders2web/bibtex-cleanup.rb", which obviously doesn't exist.