./miniruby runruby.rb bin/rdoc --fmt=html does not work

Discussion in 'Ruby' started by Markus Kolb, Nov 1, 2006.

  1. Markus Kolb

    Markus Kolb Guest

    Hi,

    I can't make the html documentation with rdoc during the build.
    What could be the problem?

    Without debug argument I get
    /usr/src/packages/BUILD/ruby/lib/rdoc/template.rb:195: [BUG]
    rb_gc_mark(): unknown data type 0x10(0xf4a9118) non object
    ruby 1.8.5 (2006-11-01) [i586-linux]

    With debug argument
    $ ./miniruby runruby.rb bin/rdoc -D --all --line-numbers --charset=UTF-8
    --fmt=html -p --inline-source --op=rdoc/html .

    [...]
    Generating HTML...
    Exception `ArgumentError' at
    /usr/src/packages/BUILD/ruby/lib/rdoc/generators/html_generator.rb:1103
    - too many arguments for format string
    /usr/src/packages/BUILD/ruby/lib/rdoc/generators/html_generator.rb:1103:in
    `sprintf': too many arguments for format string (ArgumentError)
    from
    /usr/src/packages/BUILD/ruby/lib/rdoc/generators/html_generator.rb:1103:in
    `add_line_numbers'
    from
    /usr/src/packages/BUILD/ruby/lib/rdoc/generators/html_generator.rb:1102:in
    `gsub!'
    from
    /usr/src/packages/BUILD/ruby/lib/rdoc/generators/html_generator.rb:1102:in
    `add_line_numbers'
    from
    /usr/src/packages/BUILD/ruby/lib/rdoc/generators/html_generator.rb:1087:in
    `markup_code'
    from
    /usr/src/packages/BUILD/ruby/lib/rdoc/generators/html_generator.rb:925:in
    `initialize'
    from
    /usr/src/packages/BUILD/ruby/lib/rdoc/generators/html_generator.rb:326:in
    `new'
    from
    /usr/src/packages/BUILD/ruby/lib/rdoc/generators/html_generator.rb:326:in
    `collect_methods'
    from
    /usr/src/packages/BUILD/ruby/lib/rdoc/generators/html_generator.rb:326:in
    `collect'
    from
    /usr/src/packages/BUILD/ruby/lib/rdoc/generators/html_generator.rb:326:in
    `collect_methods'
    from
    /usr/src/packages/BUILD/ruby/lib/rdoc/generators/html_generator.rb:787:in
    `initialize'
    from
    /usr/src/packages/BUILD/ruby/lib/rdoc/generators/html_generator.rb:1256:in
    `new'
    from
    /usr/src/packages/BUILD/ruby/lib/rdoc/generators/html_generator.rb:1256:in
    `build_indices'
    from
    /usr/src/packages/BUILD/ruby/lib/rdoc/generators/html_generator.rb:1255:in
    `each'
    from
    /usr/src/packages/BUILD/ruby/lib/rdoc/generators/html_generator.rb:1255:in
    `build_indices'
    from
    /usr/src/packages/BUILD/ruby/lib/rdoc/generators/html_generator.rb:1196:in
    `generate'
    from /usr/src/packages/BUILD/ruby/lib/rdoc/rdoc.rb:284:in `document'
    from bin/rdoc:63
    Markus Kolb, Nov 1, 2006
    #1
    1. Advertising

  2. Markus Kolb

    Markus Kolb Guest

    Markus Kolb wrote on 01.11.2006 15:20:
    > Hi,
    >
    > I can't make the html documentation with rdoc during the build.
    > What could be the problem?
    >
    > Without debug argument I get
    > /usr/src/packages/BUILD/ruby/lib/rdoc/template.rb:195: [BUG]
    > rb_gc_mark(): unknown data type 0x10(0xf4a9118) non object
    > ruby 1.8.5 (2006-11-01) [i586-linux]
    >
    > With debug argument
    > $ ./miniruby runruby.rb bin/rdoc -D --all --line-numbers --charset=UTF-8
    > --fmt=html -p --inline-source --op=rdoc/html .

    [...]

    With debug and without line-numbers I get
    /usr/src/packages/BUILD/ruby/lib/rdoc/markup/simple_markup/inline.rb:276:
    [BUG] rb_gc_mark(): unknown data type 0x10(0xd5d6050) non object
    Markus Kolb, Nov 1, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Derek Mahar
    Replies:
    0
    Views:
    2,898
    Derek Mahar
    Aug 27, 2003
  2. klikic

    JSTL fmt:setLocale problem

    klikic, Apr 28, 2006, in forum: Java
    Replies:
    0
    Views:
    4,660
    klikic
    Apr 28, 2006
  3. jill
    Replies:
    0
    Views:
    1,022
  4. tempsl

    Implementing Unix fmt ( ) function

    tempsl, Nov 16, 2005, in forum: C Programming
    Replies:
    0
    Views:
    417
    tempsl
    Nov 16, 2005
  5. anne001
    Replies:
    1
    Views:
    402
Loading...

Share This Page