Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

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

Closed
tknzk opened this issue Dec 22, 2020 · 4 comments
Closed

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

tknzk opened this issue Dec 22, 2020 · 4 comments

Comments

@tknzk
Copy link

tknzk commented Dec 22, 2020

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
Copy link

jasonbosco commented Dec 22, 2020

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
Copy link
Contributor

#118 fixes this issue.

@thomasrockhu
Copy link
Contributor

This should be fixed via 0.2.15

AlexWayfer added a commit to AlexWayfer/codecov-ruby that referenced this issue Dec 27, 2020
@AlexWayfer
Copy link
Contributor

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.

AlexWayfer added a commit to AlexWayfer/codecov-ruby that referenced this issue Feb 24, 2021
thomasrockhu pushed a commit that referenced this issue Feb 27, 2021
* Replace explicit files enumeration with glob in gem spec

Try to prevent errors like #119.

* Add documentation files into built gem

I think it can be helpful.

* Add metadata information into gem spec

Like source code URI, bug tracker URI, etc.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants