Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


rspec and ruby 1.9.3 not working #54

gogogarrett opened this Issue · 4 comments

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) 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' => ["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

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!


Closing due to inactivity.

@shepmaster shepmaster closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.