cucumber/cucumber — Issue #195: No Method Error in -f pdf with Prawn
Author: flashquartermaster
Created: 2011-12-02 19:15:01+00:00
State: open

Version issue maybe?

undefined method `text' for #
Error creating formatter: pdf (NoMethodError)
/Library/Ruby/Gems/1.8/gems/cucumber-1.0.5/bin/../lib/cucumber/formatter/pdf.rb:44:in `initialize'
/Library/Ruby/Gems/1.8/gems/cucumber-1.0.5/bin/../lib/cucumber/cli/configuration.rb:168:in `new'
/Library/Ruby/Gems/1.8/gems/cucumber-1.0.5/bin/../lib/cucumber/cli/configuration.rb:168:in `formatters'
/Library/Ruby/Gems/1.8/gems/cucumber-1.0.5/bin/../lib/cucumber/cli/configuration.rb:163:in `map'
/Library/Ruby/Gems/1.8/gems/cucumber-1.0.5/bin/../lib/cucumber/cli/configuration.rb:163:in `formatters'
/Library/Ruby/Gems/1.8/gems/cucumber-1.0.5/bin/../lib/cucumber/cli/configuration.rb:68:in `build_tree_walker'
/Library/Ruby/Gems/1.8/gems/cucumber-1.0.5/bin/../lib/cucumber/runtime.rb:42:in `run!'
/Library/Ruby/Gems/1.8/gems/cucumber-1.0.5/bin/../lib/cucumber/cli/main.rb:43:in `execute!'
/Library/Ruby/Gems/1.8/gems/cucumber-1.0.5/bin/../lib/cucumber/cli/main.rb:20:in `execute'
/Library/Ruby/Gems/1.8/gems/cucumber-1.0.5/bin/cucumber:14
/usr/bin/cucumber:19:in `load'
/usr/bin/cucumber:19

Prawn install:

Fetching: pdf-reader-0.10.1.gem (100%)
Fetching: ttfunk-1.0.3.gem (100%)
Fetching: prawn-0.12.0.gem (100%)

********************************************

A lot has changed since 0.8.4

Please read the changelog for details:

https://github.com/sandal/prawn/wiki/CHANGELOG

\ ********************************************

Successfully installed Ascii85-1.0.1
Successfully installed pdf-reader-0.10.1
Successfully installed ttfunk-1.0.3
Successfully installed prawn-0.12.0
4 gems installed
Installing ri documentation for Ascii85-1.0.1...
Installing ri documentation for pdf-reader-0.10.1...
Installing ri documentation for ttfunk-1.0.3...
Installing ri documentation for prawn-0.12.0...
Installing RDoc documentation for Ascii85-1.0.1...
Installing RDoc documentation for pdf-reader-0.10.1...
Installing RDoc documentation for ttfunk-1.0.3...
Installing RDoc documentation for prawn-0.12.0...
Could not find main page README
Could not find main page README
Could not find main page README
Could not find main page README