benc
benc

Reputation: 2018

'Could not find gem' error when specifying a forked version of a gem from Github

I'm trying to use a forked version of the ebay api gem (https://github.com/codyfauser/ebay/)

gem "ebayapi", :git => 'git://github.com/AutoRevo/ebay.git'

However when I run bundle install, I get the error.

Could not find gem 'ebayapi (>= 0) ruby' in git://github.com/AutoRevo/ebay.git (at master). Source does not contain any versions of 'ebayapi (>= 0) ruby'

The original gem works fine. (https://github.com/codyfauser/ebay)

What am I doing wrong?

Upvotes: 1

Views: 257

Answers (2)

bigtunacan
bigtunacan

Reputation: 4986

Since there is no gemspec you can not point to it directly from github. You could clone the repo and build a local gem then use that. If for some reason you really want to point to github then you would need to build and then push the gemspec to the github repo.

Upvotes: 1

benc
benc

Reputation: 2018

In this case since there is no gemspec you can not point to it directly from github. You could clone the repo and build a local gem then use that. If for some reason you really want to point to github then you would need to build and then push the gemspec to the github repo. – bigtunacan

Upvotes: 2

Related Questions