TeamCity Rake Runner Plugin isn't compatible with this RSpec version / DEPRECATION WARNING

Two issues here.

1.  I keep getting DEPRECATION WARNING when I'm running my specs. Not a big deal, but would like to clean it up.
2. As well, just starting getting the message "TeamCity Rake Runner Plugin isn't compatible with this RSpec version." after updating bundler, ZenTest, and autotest.  Any thoughts/suggestions?


/home/tom/.rvm/rubies/ruby-1.9.2-p290/bin/ruby -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) /home/tom/.rvm/gems/ruby-1.9.2-p290@litdistco/bin/rspec /home/tom/work/ruby/litdistco-sales/spec/models/sales_item_upload_spec.rb --require teamcity/spec/runner/formatter/teamcity/formatter --format Spec::Runner::Formatter::TeamcityFormatter --example SalesItemUpload item #72: ISBN13 import should just work
Testing started at 8:58 PM ...
DEPRECATION WARNING: class_inheritable_attribute is deprecated, please use class_attribute method instead. Notice their behavior are slightly different, so refer to class_attribute documentation first. (called from require at /home/tom/.rvm/gems/ruby-1.9.2-p290@litdistco/gems/bundler-1.0.21/lib/bundler/runtime.rb:68)
DEPRECATION WARNING: class_inheritable_attribute is deprecated, please use class_attribute method instead. Notice their behavior are slightly different, so refer to class_attribute documentation first. (called from require at /home/tom/.rvm/gems/ruby-1.9.2-p290@litdistco/gems/bundler-1.0.21/lib/bundler/runtime.rb:68)

/home/tom/opt/RubyMine-3.2.4/rb/testing/patch/bdd/teamcity/spec/runner/formatter/teamcity/formatter.rb:398:in `dump_summary': TeamCity Rake Runner Plugin isn't compatible with this RSpec version. (Rake::TeamCity::InnerException)

Following examples weren't finished:
  1. Example : 'item #72: ISBN13 import should just work'
 from /home/tom/work/ruby/litdistco-sales/foreman/ruby/1.9.1/gems/rspec-core-2.6.4/lib/rspec/core/reporter.rb:75:in `block in notify'
 from /home/tom/work/ruby/litdistco-sales/foreman/ruby/1.9.1/gems/rspec-core-2.6.4/lib/rspec/core/reporter.rb:74:in `each'
 from /home/tom/work/ruby/litdistco-sales/foreman/ruby/1.9.1/gems/rspec-core-2.6.4/lib/rspec/core/reporter.rb:74:in `notify'
 from /home/tom/work/ruby/litdistco-sales/foreman/ruby/1.9.1/gems/rspec-core-2.6.4/lib/rspec/core/reporter.rb:24:in `finish'
 from /home/tom/work/ruby/litdistco-sales/foreman/ruby/1.9.1/gems/rspec-core-2.6.4/lib/rspec/core/reporter.rb:14:in `ensure in report'
 from /home/tom/work/ruby/litdistco-sales/foreman/ruby/1.9.1/gems/rspec-core-2.6.4/lib/rspec/core/reporter.rb:14:in `report'
 from /home/tom/work/ruby/litdistco-sales/foreman/ruby/1.9.1/gems/rspec-core-2.6.4/lib/rspec/core/command_line.rb:21:in `run'
 from /home/tom/work/ruby/litdistco-sales/foreman/ruby/1.9.1/gems/rspec-core-2.6.4/lib/rspec/core/runner.rb:80:in `run_in_process'
 from /home/tom/work/ruby/litdistco-sales/foreman/ruby/1.9.1/gems/rspec-core-2.6.4/lib/rspec/core/runner.rb:69:in `run'
 from /home/tom/work/ruby/litdistco-sales/foreman/ruby/1.9.1/gems/rspec-core-2.6.4/lib/rspec/core/runner.rb:11:in `block in autorun'

3 examples, 3 failures, 0 passed

Finished in 0.983935727 seconds

TeamCity Rake Runner Plugin isn't compatible with this RSpec version.

Following examples weren't finished:
  1. Example : 'item #72: ISBN13 import should just work'

Process finished with exit code 1

2 comments
Comment actions Permalink

Hi,

This error appeared due problems in rspec tests/suites start/end events reporting protocol. It may occured du to changes/bugs in RSpec API  or some 3rd party gem affects it (or due to bug in our custom rspec reporter). In your case Rake-runner plugin didn't receive event that "Example : 'item #72: ISBN13 import should just work'" rspec example finished. Could you spefify which version of bundler, ZenTest, autotest, rake and rspec* gems do you use? I'll try to reproduce. Althoug which is your TeamCity version.

0
Comment actions Permalink

Well, I've upgraded my old Ubuntu laptop to a MacBook Pro and I don't get this happening anymore.

Thanks for responding though!

0

Please sign in to leave a comment.