Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

rspec and ruby 1.9.3 not working #54

gogogarrett opened this Issue Feb 27, 2012 · 4 comments


None yet
4 participants

/Users/heinleng/.rvm/gems/ruby-1.9.3-p0/gems/ci_reporter-1.7.0/lib/ci/reporter/rspec.rb:203:in write_report': undefined methodfinish' for nil:NilClass (NoMethodError)

https://github.com/nicksieger/ci_reporter/blob/master/lib/ci/reporter/rspec.rb#L206 This is the line that's failing. @suite is nil, and I have no idea how to fix it.

Ruby => ruby-1.9.3-p0
Rspec => rspec-rails (2.8.1)

This is my Rakefile:

require File.expand_path('../config/application', __FILE__)
require 'rspec/core/rake_task'
require 'ci/reporter/rake/rspec'

RSpec::Core::RakeTask.new(:all => ["ci:setup:rspec"]) do |t|
  t.pattern = 'spec/**/*'


I don't know about your rakefile, but with ruby-1.9.3-p125 and rspec-rails 2.9.0 I can successfully run rake spec with this rakefile:

require File.expand_path('../config/application', __FILE__)
require 'ci/reporter/rake/rspec'


Also, using rails 3.2.2, and ci_reporter 1.7.0

I am manually running rake ci:setup:rspec before running rake spec

I'm also getting this error on CI build machine but when on my dev workstation, all is fine. I can't think of anything that's different between the two environments that would impact it though.

I'm running rspec 2.11.0, rails 3.2.6, ci_reporter 1.7.0, ruby 1.9.3-p134 and my command is:

RAILS_ENV=test bundle exec rspec --require ci/reporter/rake/rspec_loader --format CI::Reporter::RSpec spec

@shepmaster shepmaster added the rspec label Jun 3, 2014


shepmaster commented Jun 12, 2014

We are in the process of cleaning out old issues. Specifically, the
next version of CI::Reporter is only going to support RSpec 2.14 and
above. If this issue still applies to this version, please let us
know, otherwise we're going to close this issue to focus on current
problems. Thanks for your report!


shepmaster commented Jul 22, 2014

Closing due to inactivity.

@shepmaster shepmaster closed this Jul 22, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment