codeclimate / ruby-test-reporter

DEPRECATED Uploads Ruby test coverage data to Code Climate
https://codeclimate.com
Other
92 stars 92 forks source link

cannot load such file -- simplecov (LoadError) #154

Closed dillonwelch closed 7 years ago

dillonwelch commented 7 years ago

When I run codeclimate-test-reporter on the console, I get this error. Am I missing something?

/Users/dillonwelch/.rvm/gems/ruby-2.3.1/gems/codeclimate-test-reporter-1.0.0/lib/code_climate/test_reporter/formatter.rb:7:in `require': cannot load such file -- simplecov (LoadError)
    from /Users/dillonwelch/.rvm/gems/ruby-2.3.1/gems/codeclimate-test-reporter-1.0.0/lib/code_climate/test_reporter/formatter.rb:7:in `<top (required)>'
    from /Users/dillonwelch/.rvm/gems/ruby-2.3.1/gems/codeclimate-test-reporter-1.0.0/lib/codeclimate-test-reporter.rb:7:in `require'
    from /Users/dillonwelch/.rvm/gems/ruby-2.3.1/gems/codeclimate-test-reporter-1.0.0/lib/codeclimate-test-reporter.rb:7:in `<top (required)>'
    from /Users/dillonwelch/.rvm/gems/ruby-2.3.1/gems/codeclimate-test-reporter-1.0.0/bin/codeclimate-test-reporter:3:in `require'
    from /Users/dillonwelch/.rvm/gems/ruby-2.3.1/gems/codeclimate-test-reporter-1.0.0/bin/codeclimate-test-reporter:3:in `<top (required)>'
    from /Users/dillonwelch/.rvm/gems/ruby-2.3.1/bin/codeclimate-test-reporter:22:in `load'
    from /Users/dillonwelch/.rvm/gems/ruby-2.3.1/bin/codeclimate-test-reporter:22:in `<main>'
    from /Users/dillonwelch/.rvm/gems/ruby-2.3.1/bin/ruby_executable_hooks:15:in `eval'
    from /Users/dillonwelch/.rvm/gems/ruby-2.3.1/bin/ruby_executable_hooks:15:in `<main>'
maxjacobson commented 7 years ago

@oniofchaos Thanks for the issue and apologies for the inconvenience. I believe we fixed this in v1.0.3. Will you try updating?

dillonwelch commented 7 years ago

Not sure what I did wrong, but after I unlocked the gem version it worked. Thanks