pretty_face error: undefined method `cattr_accessor'

72 views
Skip to first unread message

George Sanders

unread,
Aug 27, 2013, 5:10:06 PM8/27/13
to page-...@googlegroups.com
I tried to incorporate the pretty_face gem from the Cucumber and Cheese book and got the following message (see below).  Any help would be appreciated, thanks!

C:\Ruby193\bin\ruby.exe -EUTF-8 -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) C:\Ruby193\bin/cucumber C:/rateview_pageobject/features/authentication/auth_valid.feature --format Teamcity::Cucumber::Formatter --expand --color -r features
Testing started at 11:30 AM ...
undefined method `cattr_accessor' for ActionView::Base:Class (NoMethodError)
C:/Ruby193/lib/ruby/gems/1.9.1/gems/actionpack-1.4.0/lib/action_view/helpers/active_record_helper.rb:7:in `<class:Base>'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/actionpack-1.4.0/lib/action_view/helpers/active_record_helper.rb:5:in `<module:ActionView>'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/actionpack-1.4.0/lib/action_view/helpers/active_record_helper.rb:4:in `<top (required)>'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/actionpack-1.4.0/lib/action_view/base.rb:138:in `require'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/actionpack-1.4.0/lib/action_view/base.rb:138:in `block in load_helpers'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/actionpack-1.4.0/lib/action_view/base.rb:136:in `foreach'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/actionpack-1.4.0/lib/action_view/base.rb:136:in `load_helpers'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/actionpack-1.4.0/lib/action_view.rb:40:in `<top (required)>'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/pretty_face-0.3/lib/pretty_face/formatter/html.rb:1:in `require'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/pretty_face-0.3/lib/pretty_face/formatter/html.rb:1:in `<top (required)>'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/cucumber-1.3.2/lib/cucumber/constantize.rb:16:in `require'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/cucumber-1.3.2/lib/cucumber/constantize.rb:16:in `rescue in constantize'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/cucumber-1.3.2/lib/cucumber/constantize.rb:5:in `constantize'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/cucumber-1.3.2/lib/cucumber/cli/configuration.rb:83:in `formatter_class'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/cucumber-1.3.2/lib/cucumber/cli/configuration.rb:182:in `block in formatters'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/cucumber-1.3.2/lib/cucumber/cli/configuration.rb:178:in `map'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/cucumber-1.3.2/lib/cucumber/cli/configuration.rb:178:in `formatters'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/cucumber-1.3.2/lib/cucumber/cli/configuration.rb:76:in `build_tree_walker'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/cucumber-1.3.2/lib/cucumber/runtime.rb:45:in `run!'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/cucumber-1.3.2/lib/cucumber/cli/main.rb:47:in `execute!'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/cucumber-1.3.2/bin/cucumber:13:in `<top (required)>'
C:/Ruby193/bin/cucumber:23:in `load'
C:/Ruby193/bin/cucumber:23:in `<top (required)>'
-e:1:in `load'
-e:1:in `<main>'

Process finished with exit code 1
Reply all
Reply to author
Forward
0 new messages