Skip to content

Cannot load such file -- ci/reporter/rake/rspec #162

Open
@fifiteen82726

Description

@fifiteen82726

ruby 2.1.10
Rails 3.2.22.5
I want to use ci_reporter to generate report xml, and then let jenkins publish error message.
I added this into gemfile

gem "ci_reporter"

Put following code into Rakefile

require 'ci/reporter/rake/rspec'
task :rspec => 'ci:setup:rspec'

Created a task file and put following code in lib/ci_report.rake

namespace :ci do
  task :all => ['ci:setup:rspec', 'rspec']
end

Then typed rake ci:all in terminal, but it threw this error

rake aborted!
LoadError: cannot load such file -- ci/reporter/rake/rspec

What did I miss?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions