升级到最新的rubymine 6.3并尝试使用规范配置运行所有规格。查看日志看起来像是一个rubymine问题。知道如何解决这个问题吗?
/Applications/RubyMine.app/rb/testing/patch/bdd/teamcity/spec/runner/formatter/teamcity/rspec3_formatter.rb:250:in `dump_summary': undefined local variable or method `count_notification' for #<Spec::Runner::Formatter::TeamcityFormatter:0x007f8d338fd3e8> (NameError) from /Users/xxxxx/.rvm/gems/ruby-2.1.3/gems/rspec-core-3.1.7/lib/rspec/core/reporter.rb:134:in `block in notify' from /Users/xxxxx/.rvm/gems/ruby-2.1.3/gems/rspec-core-3.1.7/lib/rspec/core/reporter.rb:133:in `each' from /Users/xxxxx/.rvm/gems/ruby-2.1.3/gems/rspec-core-3.1.7/lib/rspec/core/reporter.rb:133:in `notify' from /Users/xxxxx/.rvm/gems/ruby-2.1.3/gems/rspec-core-3.1.7/lib/rspec/core/reporter.rb:116:in `finish' from /Users/xxxxx/.rvm/gems/ruby-2.1.3/gems/rspec-core-3.1.7/lib/rspec/core/reporter.rb:55:in `ensure in report' from /Users/xxxxx/.rvm/gems/ruby-2.1.3/gems/rspec-core-3.1.7/lib/rspec/core/reporter.rb:55:in `report' from /Users/xxxxx/.rvm/gems/ruby-2.1.3/gems/rspec-core-3.1.7/lib/rspec/core/runner.rb:107:in `run_specs' from /Users/xxxxx/.rvm/gems/ruby-2.1.3/gems/rspec-core-3.1.7/lib/rspec/core/runner.rb:85:in `run' from /Users/xxxxx/.rvm/gems/ruby-2.1.3/gems/rspec-core-3.1.7/lib/rspec/core/runner.rb:69:in `run' from /Users/xxxxx/.rvm/gems/ruby-2.1.3/gems/rspec-core-3.1.7/lib/rspec/core/runner.rb:37:in `invoke' from /Users/ac027466/.rvm/gems/ruby-2.1.3/gems/rspec-core-3.1.7/exe/rspec:4:in `<main>' /Users/xxxxx/.rvm/rubies/ruby-2.1.3/bin/ruby -I/Users/xxxxx/.rvm/gems/ruby-2.1.3/gems/rspec-core-3.1.7/lib:/Users/xxxxx/.rvm/gems/ruby-2.1.3/gems/rspec-support-3.1.2/lib /Users/xxxxx/.rvm/gems/ruby-2.1.3/gems/rspec-core-3.1.7/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb failed
答案 0 :(得分:0)
更新为rubymine 6.3.3为我解决了这个问题。