#52 ✓invalid
Stephen Bannasch

rake doc:build fails: undefined method `signature' for #<Documentation::InstanceProperty Ajax.Response#headerJSON>

Reported by Stephen Bannasch | March 30th, 2009 @ 12:27 AM

I just checked out prototype with git and the rake doc:build task failed with:


undefined method `signature' for #<Documentation::InstanceProperty Ajax.Response#headerJSON>

Here's how I installed prototype on my MacOS 10.5.6 system:


[javascript]$ git clone git://github.com/sstephenson/prototype.git prototype-git
Initialized empty Git repository in /Users/stephen/dev/javascript/prototype-git/.git/
remote: Counting objects: 3825, done.
remote: Compressing objects: 100% (1456/1456), done.
remote: Total 3825 (delta 2770), reused 3192 (delta 2324)
Receiving objects: 100% (3825/3825), 789.05 KiB | 213 KiB/s, done.
Resolving deltas: 100% (2770/2770), done.

[javascript]$ cd prototype-git

[prototype-git (master)]$ git submodule init
Submodule 'vendor/caja_builder' (git://github.com/tobie/unittest_js_caja_builder.git) registered for path 'vendor/caja_builder'
Submodule 'vendor/pdoc' (git://github.com/tobie/pdoc.git) registered for path 'vendor/pdoc'
Submodule 'vendor/sprockets' (git://github.com/sstephenson/sprockets.git) registered for path 'vendor/sprockets'
Submodule 'vendor/unittest_js' (git://github.com/tobie/unittest_js.git) registered for path 'vendor/unittest_js'

[prototype-git (master)]$ git submodule update
Initialized empty Git repository in /Users/stephen/dev/javascript/prototype-git/vendor/caja_builder/.git/
remote: Counting objects: 100, done.
remote: Compressing objects: 100% (92/92), done.
remote: Total 100 (delta 17), reused 0 (delta 0)
Receiving objects: 100% (100/100), 3.84 MiB | 208 KiB/s, done.
Resolving deltas: 100% (17/17), done.
Submodule path 'vendor/caja_builder': checked out 'aeda517c2e82db92bc88d56ed68fa4ce05f487a9'
Initialized empty Git repository in /Users/stephen/dev/javascript/prototype-git/vendor/pdoc/.git/
remote: Counting objects: 862, done.
remote: Compressing objects: 100% (546/546), done.
remote: Total 862 (delta 460), reused 507 (delta 261)
Receiving objects: 100% (862/862), 269.67 KiB | 120 KiB/s, done.
Resolving deltas: 100% (460/460), done.
Submodule path 'vendor/pdoc': checked out 'a4609a72bd7d8c0c176ac4840f692dbe307eaeeb'
Initialized empty Git repository in /Users/stephen/dev/javascript/prototype-git/vendor/sprockets/.git/
remote: Counting objects: 414, done.
remote: Compressing objects: 100% (361/361), done.
remote: Total 414 (delta 229), reused 69 (delta 29)
Receiving objects: 100% (414/414), 54.60 KiB | 45 KiB/s, done.
Resolving deltas: 100% (229/229), done.
Submodule path 'vendor/sprockets': checked out '8860b7f54d08dd4861bea1ca5de223555ad4b2c1'
Initialized empty Git repository in /Users/stephen/dev/javascript/prototype-git/vendor/unittest_js/.git/
remote: Counting objects: 83, done.
remote: Compressing objects: 100% (81/81), done.
remote: Total 83 (delta 22), reused 0 (delta 0)
Receiving objects: 100% (83/83), 53.90 KiB | 46 KiB/s, done.
Resolving deltas: 100% (22/22), done.
Submodule path 'vendor/unittest_js': checked out 'd0d28f58f127796c9cf916bd4f1c95f90b9a3fdc'

Here's the error running rake doc:build with --trace on:


[prototype-git (master)]$ rake doc:build --trace
(in /Users/stephen/dev/javascript/prototype-git)
** Invoke doc:build (first_time)
** Invoke doc:require (first_time)
** Execute doc:require
** Execute doc:build
rm -rf /Users/stephen/dev/javascript/prototype-git/doc

    Parsing source files: /var/folders/zK/zK+A4xtxHSevr7D+EoIsPE+++TI/-Tmp-/pdoc.1260.0.
    Parsing completed in 29.91836 seconds.
    
    Generating documentation to: /Users/stephen/dev/javascript/prototype-git/doc.
    Rendering: ajax/ajax/response.html
rake aborted!
undefined method `signature' for #<Documentation::InstanceProperty Ajax.Response#headerJSON>
(erb):5:in `include'
/Users/stephen/dev/javascript/prototype-git/vendor/pdoc/lib/pdoc/generators/html/page.rb:32:in `include'
/Users/stephen/dev/javascript/prototype-git/vendor/pdoc/lib/pdoc/generators/html/page.rb:32:in `map'
/Users/stephen/dev/javascript/prototype-git/vendor/pdoc/lib/pdoc/generators/html/page.rb:32:in `include'
(erb):165:in `render'
(erb):154:in `each'
(erb):154:in `render'
/Users/stephen/dev/javascript/prototype-git/vendor/pdoc/lib/pdoc/generators/html/page.rb:14:in `render'
/Users/stephen/dev/javascript/prototype-git/vendor/pdoc/lib/pdoc/generators/html/page.rb:25:in `render_to_file'
/Users/stephen/dev/javascript/prototype-git/vendor/pdoc/lib/pdoc/generators/html/page.rb:25:in `open'
/Users/stephen/dev/javascript/prototype-git/vendor/pdoc/lib/pdoc/generators/html/page.rb:25:in `render_to_file'
/Users/stephen/dev/javascript/prototype-git/vendor/pdoc/lib/pdoc/generators/html/website.rb:41:in `render_template'
/Users/stephen/dev/javascript/prototype-git/vendor/pdoc/lib/pdoc/generators/html/website.rb:58:in `build_tree'
/Users/stephen/dev/javascript/prototype-git/vendor/pdoc/lib/pdoc/generators/html/website.rb:54:in `build_tree'
/Users/stephen/dev/javascript/prototype-git/vendor/pdoc/lib/pdoc/generators/html/website.rb:54:in `each'
/Users/stephen/dev/javascript/prototype-git/vendor/pdoc/lib/pdoc/generators/html/website.rb:54:in `build_tree'
/Users/stephen/dev/javascript/prototype-git/vendor/pdoc/lib/pdoc/generators/html/website.rb:30:in `render'
/Users/stephen/dev/javascript/prototype-git/vendor/pdoc/lib/pdoc/generators/html/website.rb:30:in `each'
/Users/stephen/dev/javascript/prototype-git/vendor/pdoc/lib/pdoc/generators/html/website.rb:30:in `render'
/Users/stephen/dev/javascript/prototype-git/vendor/pdoc/lib/pdoc/generators/html/website.rb:26:in `each'
/Users/stephen/dev/javascript/prototype-git/vendor/pdoc/lib/pdoc/generators/html/website.rb:26:in `render'
/Users/stephen/dev/javascript/prototype-git/vendor/pdoc/lib/pdoc/runner.rb:36:in `render'
/Users/stephen/dev/javascript/prototype-git/vendor/pdoc/lib/pdoc/runner.rb:43:in `run'
/Users/stephen/dev/javascript/prototype-git/Rakefile:74
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/tempfile.rb:172:in `open'
/Users/stephen/dev/javascript/prototype-git/Rakefile:64
/Library/Ruby/Gems/1.8/gems/rake-0.8.4/lib/rake.rb:617:in `call'
/Library/Ruby/Gems/1.8/gems/rake-0.8.4/lib/rake.rb:617:in `execute'
/Library/Ruby/Gems/1.8/gems/rake-0.8.4/lib/rake.rb:612:in `each'
/Library/Ruby/Gems/1.8/gems/rake-0.8.4/lib/rake.rb:612:in `execute'
/Library/Ruby/Gems/1.8/gems/rake-0.8.4/lib/rake.rb:578:in `invoke_with_call_chain'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/Library/Ruby/Gems/1.8/gems/rake-0.8.4/lib/rake.rb:571:in `invoke_with_call_chain'
/Library/Ruby/Gems/1.8/gems/rake-0.8.4/lib/rake.rb:564:in `invoke'
/Library/Ruby/Gems/1.8/gems/rake-0.8.4/lib/rake.rb:2027:in `invoke_task'
/Library/Ruby/Gems/1.8/gems/rake-0.8.4/lib/rake.rb:2005:in `top_level'
/Library/Ruby/Gems/1.8/gems/rake-0.8.4/lib/rake.rb:2005:in `each'
/Library/Ruby/Gems/1.8/gems/rake-0.8.4/lib/rake.rb:2005:in `top_level'
/Library/Ruby/Gems/1.8/gems/rake-0.8.4/lib/rake.rb:2044:in `standard_exception_handling'
/Library/Ruby/Gems/1.8/gems/rake-0.8.4/lib/rake.rb:1999:in `top_level'
/Library/Ruby/Gems/1.8/gems/rake-0.8.4/lib/rake.rb:1977:in `run'
/Library/Ruby/Gems/1.8/gems/rake-0.8.4/lib/rake.rb:2044:in `standard_exception_handling'
/Library/Ruby/Gems/1.8/gems/rake-0.8.4/lib/rake.rb:1974:in `run'
/Library/Ruby/Gems/1.8/gems/rake-0.8.4/bin/rake:31
/usr/bin/rake:19:in `load'
/usr/bin/rake:19

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins

Pages