zdavatz / oddb2xml

oddb2xml, create xml files using refdata, swissmedic and bag xml files
http://www.ywesee.com/Oddb2xml/Index
GNU General Public License v3.0
8 stars 5 forks source link

buildr -h fails on some rubyies #3

Closed ngiger closed 11 years ago

ngiger commented 11 years ago

Output seen with jruby 1.6.7.2 (ruby-1.8.7-p357) (2012-05-01 26e08ba) (OpenJDK 64-Bit Server VM 1.6.0_24) [linux-amd64-java] and ruby 1.9.3p0 under [i386-mingw] oddb2xml -h SyntaxError: /home/niklaus/.rvm/gems/jruby-1.6.7.2/gems/oddb2xml-1.2.2/lib/oddb2xml/builder.rb:145: syntax error, unexpected tRPAREN

    ) {
    ^

require at org/jruby/RubyKernel.java:1033 require at /home/niklaus/.rvm/rubies/jruby-1.6.7.2/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:55 (root) at /home/niklaus/.rvm/gems/jruby-1.6.7.2/gems/oddb2xml-1.2.2/lib/oddb2xml/builder.rb:4 require at org/jruby/RubyKernel.java:1033 require at /home/niklaus/.rvm/rubies/jruby-1.6.7.2/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:55 (root) at /home/niklaus/.rvm/gems/jruby-1.6.7.2/gems/oddb2xml-1.2.2/lib/oddb2xml/cli.rb:2 require at org/jruby/RubyKernel.java:1033 require at /home/niklaus/.rvm/rubies/jruby-1.6.7.2/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:55 (root) at /home/niklaus/.rvm/gems/jruby-1.6.7.2/gems/oddb2xml-1.2.2/lib/oddb2xml.rb:9 load at org/jruby/RubyKernel.java:1058 at /home/niklaus/.rvm/gems/jruby-1.6.7.2/gems/oddb2xml-1.2.2/bin/oddb2xml:19 eval at org/jruby/RubyKernel.java:1083 (root) at /home/niklaus/.rvm/gems/jruby-1.6.7.2/bin/ruby_noexec_wrapper:14 niklaus@ng-hp:/opt/elexis-2.1.7-rm$ ruby -v

zdavatz commented 11 years ago

Yes, the same error comes with Ruby 1.8.7. ;) No jruby support at the moment.