[rspec-devel] rspec_ui selenium example error

Nadim Ratani nratani at gmail.com
Sat Feb 16 21:59:28 EST 2008


I'm following the tutorial here:
http://texagon.blogspot.com/2007/06/lets-play-selenium-part-one.html

When I run "rake spec:selenium --trace" on the spec selenium example I get
the following error output:
** Invoke spec:selenium (first_time)
** Execute spec:selenium
/usr/lib/ruby/gems/1.8/gems/spec_ui-0.2.4/lib/spec/ui/formatter.rb:6:
uninitialized constant Spec::Runner::Formatter (NameError)
        from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require'
        from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
        from /usr/lib/ruby/gems/1.8/gems/spec_ui-0.2.4/lib/spec/ui.rb:1
        from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:32:in
`gem_original_require'
        from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:32:in
`require'
        from /usr/lib/ruby/gems/1.8/gems/rspec-1.1.3/lib/spec/runner/option_parser.rb:137:in
`invoke_requires'
        from /usr/lib/ruby/gems/1.8/gems/rspec-1.1.3/lib/spec/runner/option_parser.rb:136:in
`each'
        from /usr/lib/ruby/gems/1.8/gems/rspec-1.1.3/lib/spec/runner/option_parser.rb:136:in
`invoke_requires'
        from /usr/lib/ruby/gems/1.8/gems/rspec-1.1.3/lib/spec/runner/option_parser.rb:102:in
`initialize'
        from /usr/lib/ruby/1.8/optparse.rb:1260:in `call'
        from /usr/lib/ruby/1.8/optparse.rb:1260:in `parse_in_order'
        from /usr/lib/ruby/1.8/optparse.rb:1247:in `catch'
        from /usr/lib/ruby/1.8/optparse.rb:1247:in `parse_in_order'
        from /usr/lib/ruby/1.8/optparse.rb:1241:in `order!'
        from /usr/lib/ruby/gems/1.8/gems/rspec-1.1.3/lib/spec/runner/option_parser.rb:126:in
`order!'
        from /usr/lib/ruby/gems/1.8/gems/rspec-1.1.3/lib/spec/extensions/main.rb:89:in
`rspec_options'
        from /usr/lib/ruby/gems/1.8/gems/rspec-1.1.3/bin/spec:4
rake aborted!
Command ruby -I"../../lib" "/usr/lib/ruby/gems/1.8/gems/rspec-1.1.3/bin/spec"
"spec/selenium/find_rspecs_homepage_spec.rb" --color --diff --require
rubygems,spec/ui --format Spec::Ui::ScreenshotFormatter:spec_report.html
--format progress failed
/usr/lib/ruby/gems/1.8/gems/rspec-1.1.3/lib/spec/rake/spectask.rb:184:in
`define'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1003:in `verbose'
/usr/lib/ruby/gems/1.8/gems/rspec-1.1.3/lib/spec/rake/spectask.rb:153:in
`define'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in `call'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in `execute'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in `each'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in `execute'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:508:in
`invoke_with_call_chain'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:501:in `synchronize'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:501:in
`invoke_with_call_chain'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:494:in `invoke'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1931:in `invoke_task'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in `top_level'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in `each'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in `top_level'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in
`standard_exception_handling'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1903:in `top_level'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1881:in `run'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in
`standard_exception_handling'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1878:in `run'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/bin/rake:31
/usr/bin/rake:19:in `load'
/usr/bin/rake:19



Any suggestions?


NR
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rspec-devel/attachments/20080216/51bcb912/attachment-0001.html 


More information about the rspec-devel mailing list