codecov / codecov-ruby

Ruby uploader for Codecov
https://codecov.io
MIT License
72 stars 82 forks source link

cannot load such file error. /lib/codecov/version #119

Closed tknzk closed 3 years ago

tknzk commented 3 years ago
Failure/Error: require "codecov"

LoadError:
  cannot load such file -- /app/vendor/bundle/ruby/2.6.0/gems/codecov-0.2.14/lib/codecov/version
# ./vendor/bundle/ruby/2.6.0/gems/codecov-0.2.14/lib/codecov.rb:9:in `require_relative'
# ./vendor/bundle/ruby/2.6.0/gems/codecov-0.2.14/lib/codecov.rb:9:in `<top (required)>'
jasonbosco commented 3 years ago

Was just about to open an issue myself. I only see this issue in v0.2.14. I had to downgrade to v0.2.13 to get it to work again.

meganemura commented 3 years ago

118 fixes this issue.

thomasrockhu commented 3 years ago

This should be fixed via 0.2.15

AlexWayfer commented 3 years ago

I'm sorry, it happened after my changes, I didn't notice this line and it didn't affect CI.

I've created #123 with a try to prevent such errors in future in one of commits.