Closed bfaloona closed 13 years ago
Thanks, on it.
So the constant that it is whining about is provided by pickle. I put the code in to generate the warning but that was a false alarm.
The actual issue has to do with the comment block above one of the step definition:
The mustaches blew it up. I saw this issue when I first started working with the addition of the comments block but didn't see it after I made some changes or decided to live with it. Thank you for bringing it back to my attention.
Checked in a fix to leave the name instead of using an empty string and throw a warning when the comment fails to render.
downloaded. built. installed. tested. passed.
thanks!! <3 <3
Crash running city on crabgrass (git clone git://labs.riseup.net/crabgrass.git) with: ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0] yard (0.6.4) cucumber-in-the-yard (1.7.8, 1.7.7)
Below: 1) rake task 2) 'rake yard --trace' output 3) gem list
+++
1) rake task
YARD::Rake::CitydocTask.new do |t| t.files = ['features/*/', 'lib/*/.rb'] t.options = ['--out', 'yardoc'] end
2) result
warn: In file
README':69: Cannot resolve link to Development from text: [warn]: {Development overview}... [warn]: In file
README':74: Cannot resolve link to Running from text: warn: {Running and writing Crabgrass tests}... warn: In fileREADME':79: Cannot resolve link to Code from text: [warn]: {Code changes}... [warn]: In file
README':74: Cannot resolve link to Running from text: warn: {Running and writing Crabgrass tests}... warn: In fileREADME':69: Cannot resolve link to Development from text: [warn]: {Development overview}... [warn]: In file
README':74: Cannot resolve link to Running from text: warn: {Running and writing Crabgrass tests}... warn: In fileREADME':79: Cannot resolve link to Code from text: [warn]: {Code changes}... [warn]: In file
README':74: Cannot resolve link to Running from text: warn: {Running and writing Crabgrass tests}... warn: In filelib/extension/core.rb':4: Cannot resolve link to 1 from text: [warn]: ...{1 => 2, 2 => 4, 3 => 6}... [warn]: In file
lib/extension/core.rb':162: Cannot resolve link to 1 from text: warn: ...{1 => 2, 2 => 4, 3 => 6}... warn: In file `(unknown)':5: Cannot resolve link to “user”=>“red”, from text:warn: In file `features/step_definitions/common/pickle_helper.rb':5: Cannot resolve link to “user”=>“red”, from text:
rake aborted! undefined method
inheritance_tree' for #<yardoc steptransformers requirements::step_transformers> /Library/Ruby/Gems/1.8/gems/yard-0.6.4/lib/yard/code_objects/base.rb:325:in
method_missing' /Library/Ruby/Gems/1.8/gems/yard-0.6.4/lib/yard/registry.rb:271:inresolve' /Library/Ruby/Gems/1.8/gems/yard-0.6.4/lib/yard/templates/helpers/html_helper.rb:219:in
link_object' /Library/Ruby/Gems/1.8/gems/yard-0.6.4/lib/yard/templates/helpers/base_helper.rb:63:inlinkify' /Library/Ruby/Gems/1.8/gems/yard-0.6.4/lib/yard/templates/helpers/html_helper.rb:192:in
resolve_links' /Library/Ruby/Gems/1.8/gems/yard-0.6.4/lib/yard/templates/helpers/html_helper.rb:180:ingsub' /Library/Ruby/Gems/1.8/gems/yard-0.6.4/lib/yard/templates/helpers/html_helper.rb:180:in
resolve_links' /Library/Ruby/Gems/1.8/gems/yard-0.6.4/lib/yard/templates/helpers/html_helper.rb:49:inhtmlify' /Library/Ruby/Gems/1.8/gems/yard-0.6.4/templates/default/docstring/html/text.erb:1:in
_erb_cache_25' /Library/Ruby/Gems/1.8/gems/yard-0.6.4/lib/yard/templates/template.rb:238:insend' /Library/Ruby/Gems/1.8/gems/yard-0.6.4/lib/yard/templates/template.rb:238:in
erb' /Library/Ruby/Gems/1.8/gems/yard-0.6.4/lib/yard/templates/template.rb:316:inrender_section' /Library/Ruby/Gems/1.8/gems/yard-0.6.4/lib/yard/templates/template.rb:210:in
run' /Library/Ruby/Gems/1.8/gems/yard-0.6.4/lib/yard/templates/template.rb:207:ineach' /Library/Ruby/Gems/1.8/gems/yard-0.6.4/lib/yard/templates/template.rb:207:in
run' /Library/Ruby/Gems/1.8/gems/yard-0.6.4/lib/yard/templates/template.rb:345:inadd_options' /Library/Ruby/Gems/1.8/gems/yard-0.6.4/lib/yard/templates/template.rb:206:in
run' /Library/Ruby/Gems/1.8/gems/yard-0.6.4/lib/yard/templates/template.rb:228:inyieldall' /Library/Ruby/Gems/1.8/gems/yard-0.6.4/lib/yard/templates/template.rb:359:in
with_section' /Library/Ruby/Gems/1.8/gems/yard-0.6.4/lib/yard/templates/template.rb:228:inyieldall' /Library/Ruby/Gems/1.8/gems/yard-0.6.4/templates/default/docstring/html/index.erb:3:in
_erb_cache_24' /Library/Ruby/Gems/1.8/gems/yard-0.6.4/lib/yard/templates/template.rb:238:insend' /Library/Ruby/Gems/1.8/gems/yard-0.6.4/lib/yard/templates/template.rb:238:in
erb' /Library/Ruby/Gems/1.8/gems/yard-0.6.4/lib/yard/templates/template.rb:316:inrender_section' /Library/Ruby/Gems/1.8/gems/yard-0.6.4/lib/yard/templates/template.rb:210:in
run' /Library/Ruby/Gems/1.8/gems/yard-0.6.4/lib/yard/templates/template.rb:207:ineach' /Library/Ruby/Gems/1.8/gems/yard-0.6.4/lib/yard/templates/template.rb:207:in
run' /Library/Ruby/Gems/1.8/gems/yard-0.6.4/lib/yard/templates/template.rb:345:inadd_options' /Library/Ruby/Gems/1.8/gems/yard-0.6.4/lib/yard/templates/template.rb:206:in
run' /Library/Ruby/Gems/1.8/gems/yard-0.6.4/lib/yard/templates/template.rb:91:inrun' /Library/Ruby/Gems/1.8/gems/cucumber-in-the-yard-1.7.8/lib/templates/default/steptransformers/html/transformers.erb:21:in
_erb_cache_50' /Library/Ruby/Gems/1.8/gems/cucumber-in-the-yard-1.7.8/lib/templates/default/steptransformers/html/transformers.erb:1:ineach' /Library/Ruby/Gems/1.8/gems/cucumber-in-the-yard-1.7.8/lib/templates/default/steptransformers/html/transformers.erb:1:in
_erb_cache_50' /Library/Ruby/Gems/1.8/gems/yard-0.6.4/lib/yard/templates/template.rb:238:insend' /Library/Ruby/Gems/1.8/gems/yard-0.6.4/lib/yard/templates/template.rb:238:in
erb' /Library/Ruby/Gems/1.8/gems/cucumber-in-the-yard-1.7.8/lib/templates/default/steptransformers/html/setup.rb:29:instepdefinitions' /Library/Ruby/Gems/1.8/gems/yard-0.6.4/lib/yard/templates/template.rb:314:in
send' /Library/Ruby/Gems/1.8/gems/yard-0.6.4/lib/yard/templates/template.rb:314:inrender_section' /Library/Ruby/Gems/1.8/gems/yard-0.6.4/lib/yard/templates/template.rb:210:in
run' /Library/Ruby/Gems/1.8/gems/yard-0.6.4/lib/yard/templates/template.rb:207:ineach' /Library/Ruby/Gems/1.8/gems/yard-0.6.4/lib/yard/templates/template.rb:207:in
run' /Library/Ruby/Gems/1.8/gems/yard-0.6.4/lib/yard/templates/template.rb:345:inadd_options' /Library/Ruby/Gems/1.8/gems/yard-0.6.4/lib/yard/templates/template.rb:206:in
run' /Library/Ruby/Gems/1.8/gems/yard-0.6.4/lib/yard/templates/template.rb:91:inrun' /Library/Ruby/Gems/1.8/gems/yard-0.6.4/lib/yard/templates/template.rb:319:in
render_section' /Library/Ruby/Gems/1.8/gems/yard-0.6.4/lib/yard/templates/template.rb:210:inrun' /Library/Ruby/Gems/1.8/gems/yard-0.6.4/lib/yard/templates/template.rb:207:in
each' /Library/Ruby/Gems/1.8/gems/yard-0.6.4/lib/yard/templates/template.rb:207:inrun' /Library/Ruby/Gems/1.8/gems/yard-0.6.4/lib/yard/templates/template.rb:345:in
add_options' /Library/Ruby/Gems/1.8/gems/yard-0.6.4/lib/yard/templates/template.rb:206:inrun' /Library/Ruby/Gems/1.8/gems/yard-0.6.4/lib/yard/templates/template.rb:228:in
yieldall' /Library/Ruby/Gems/1.8/gems/yard-0.6.4/lib/yard/templates/template.rb:359:inwith_section' /Library/Ruby/Gems/1.8/gems/yard-0.6.4/lib/yard/templates/template.rb:228:in
yieldall' /Library/Ruby/Gems/1.8/gems/yard-0.6.4/templates/default/layout/html/layout.erb:20:in_erb_cache_5' /Library/Ruby/Gems/1.8/gems/yard-0.6.4/lib/yard/templates/template.rb:238:in
send' /Library/Ruby/Gems/1.8/gems/yard-0.6.4/lib/yard/templates/template.rb:238:inerb' /Library/Ruby/Gems/1.8/gems/yard-0.6.4/lib/yard/templates/template.rb:316:in
render_section' /Library/Ruby/Gems/1.8/gems/yard-0.6.4/lib/yard/templates/template.rb:210:inrun' /Library/Ruby/Gems/1.8/gems/yard-0.6.4/lib/yard/templates/template.rb:207:in
each' /Library/Ruby/Gems/1.8/gems/yard-0.6.4/lib/yard/templates/template.rb:207:inrun' /Library/Ruby/Gems/1.8/gems/yard-0.6.4/lib/yard/templates/template.rb:345:in
add_options' /Library/Ruby/Gems/1.8/gems/yard-0.6.4/lib/yard/templates/template.rb:206:inrun' /Library/Ruby/Gems/1.8/gems/yard-0.6.4/lib/yard/templates/template.rb:91:in
run' /Library/Ruby/Gems/1.8/gems/yard-0.6.4/templates/default/fulldoc/html/setup.rb:34:inserialize' /Library/Ruby/Gems/1.8/gems/yard-0.6.4/lib/yard/templates/engine.rb:115:in
with_serializer' /Library/Ruby/Gems/1.8/gems/yard-0.6.4/templates/default/fulldoc/html/setup.rb:33:inserialize' /Library/Ruby/Gems/1.8/gems/cucumber-in-the-yard-1.7.8/lib/templates/default/fulldoc/html/setup.rb:25:in
init' /Library/Ruby/Gems/1.8/gems/yard-0.6.4/lib/yard/templates/template.rb:144:ininitialize' /Library/Ruby/Gems/1.8/gems/yard-0.6.4/lib/yard/templates/template.rb:86:in
send' /Library/Ruby/Gems/1.8/gems/yard-0.6.4/lib/yard/templates/template.rb:86:innew' /Library/Ruby/Gems/1.8/gems/yard-0.6.4/lib/yard/templates/template.rb:91:in
run' /Library/Ruby/Gems/1.8/gems/yard-0.6.4/lib/yard/templates/engine.rb:103:ingenerate' /Library/Ruby/Gems/1.8/gems/yard-0.6.4/lib/yard/cli/yardoc.rb:297:in
run_generate' /Library/Ruby/Gems/1.8/gems/yard-0.6.4/lib/yard/cli/yardoc.rb:212:inrun' /Library/Ruby/Gems/1.8/gems/yard-0.6.4/lib/yard/rake/yardoc_task.rb:64:in
define' /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:incall' /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in
execute' /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:ineach' /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in
execute' /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:ininvoke_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.7/lib/rake.rb:590:ininvoke_with_call_chain' /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in
invoke' /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:ininvoke_task' /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in
top_level' /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:ineach' /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in
top_level' /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:instandard_exception_handling' /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in
top_level' /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:inrun' /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in
standard_exception_handling' /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:inrun' /Library/Ruby/Gems/1.8/gems/rake-0.8.7/bin/rake:31 /usr/bin/rake:19:in
load' /usr/bin/rake:193) gem list
abstract (1.0.0) actionmailer (2.3.5, 2.2.2, 2.1.0, 1.3.6) actionpack (3.0.3, 2.3.5, 2.2.2, 2.1.0, 1.13.6) actionwebservice (1.2.6) activemodel (3.0.3) activerecord (2.3.5, 2.2.2, 2.1.0, 1.15.6) activeresource (2.3.5, 2.2.2, 2.1.0) activesupport (3.0.3, 2.3.5, 2.2.2, 2.1.0, 1.4.4) acts_as_ferret (0.4.3) authlogic (2.1.3) autotest (4.4.6, 4.1.4) autotest-fsevent (0.2.4) autotest-growl (0.2.9, 0.1.7) autotest-rails (4.1.0) bcrypt-ruby (2.1.2) bluecloth (2.0.7) bret-watircraft (0.5.0) builder (2.1.2) bundler (1.0.3) capistrano (2.5.2) capybara (0.2.0) cgi_multipart_eof_fix (2.5.0) ci_reporter (1.6.0) columnize (0.3.1) commonwatir (1.6.5) configuration (1.1.0) cucumber (0.9.2, 0.8.0, 0.6.1) cucumber-in-the-yard (1.7.8, 1.7.7) cucumber-rails (0.2.2) culerity (0.2.6) daemons (1.0.10) database_cleaner (0.4.0) devise (0.4.1) diff-lcs (1.1.2) dnssd (0.6.0) erubis (2.6.6) eventmachine (0.12.10) fastthread (1.0.1) fcgi (0.8.7) ferret (0.11.6) ffi (0.5.4) firewatir (1.6.5) flog (2.5.0) gem_plugin (0.2.3) gherkin (2.3.2, 2.2.9, 1.0.30) git (1.2.5) haml (2.2.16) hanna (0.1.12) heckle (1.4.3) heroku (1.10.14, 1.7.1, 1.7.0, 1.6.5) highline (1.5.0) hoe (2.6.0, 2.4.0) hpricot (0.6.164) i18n (0.5.0) indy (0.1.5) jeweler (1.4.0) jrails (0.6.0) json (1.4.6, 1.2.0) json_pure (1.4.3, 1.2.0) launchy (0.3.5) libxml-ruby (1.1.2) linecache (0.43) memcached (0.19.2) mime-types (1.16) minitest (2.0.2) mocha (0.9.8) mongrel (1.1.5) needle (1.3.0) net-scp (1.0.1) net-sftp (2.0.1, 1.1.1) net-ssh (2.0.4, 1.1.4) net-ssh-gateway (1.0.0) nifty-generators (0.3.0) nokogiri (1.4.3.1, 1.4.1) paperclip (2.3.1.1) ParseTree (3.0.6) polyglot (0.2.9) prawn (0.8.4) prawn-core (0.8.4) prawn-layout (0.8.4) prawn-security (0.8.4) rack (1.2.1, 1.0.1) rack-mount (0.6.13) rack-test (0.5.7, 0.5.3) rails (2.3.5, 2.2.2, 2.1.0, 1.2.6) railties (3.0.3) rake (0.8.7, 0.8.3) rb-appscript (0.5.3) rcov (0.9.9) rdoc (2.5.8, 2.5.3, 2.3.0) rdoc-data (2.5.3) RedCloth (4.1.1) redgreen (1.2.2) rest-client (1.6.1, 1.3.0, 1.2.0) rspec (2.4.0, 2.0.1, 1.2.9) rspec-core (2.4.0, 2.0.1) rspec-expectations (2.4.0, 2.0.1) rspec-mocks (2.4.0, 2.0.1) rspec-prof (0.0.3) rspec-rails (2.4.1, 1.2.9) rubigen (1.5.2) ruby-debug (0.10.3) ruby-debug-base (0.10.3) ruby-debug-ide (0.4.9) ruby-openid (2.1.2) ruby-prof (0.9.2) ruby-yadis (0.3.4) ruby2ruby (1.2.5) ruby_parser (2.0.5) rubyforge (2.0.3) rubygems-update (1.4.2, 1.3.7, 1.3.6, 1.3.5) RubyInline (3.8.6) rubynode (0.1.5) s4t-utils (1.0.4) safariwatir (0.3.7) sc-core-ext (1.2.1) selenium-webdriver (0.0.13) sequel (3.15.0, 3.0.0) sexp_processor (3.0.5) shotgun (0.6) simplest_auth (0.2.6) sinatra (1.0, 0.9.2) spork (0.8.4, 0.7.5) sqlite3-ruby (1.2.5, 1.2.4) syntax (1.0.0) sys-uname (0.8.5) taglob (1.1.2) taps (0.3.13, 0.2.23) taza (0.8.7) term-ansicolor (1.0.5, 1.0.4) termios (0.9.4) thor (0.14.6, 0.9.9) treetop (1.4.3) trollop (1.16.2) tzinfo (0.3.23) user-choices (1.1.6) uwchat (0.1.2) warden (0.5.3) will_paginate (2.3.12) xml-simple (1.0.12) xmpp4r (0.4) yard (0.6.4) ZenTest (4.4.2)