我正在尝试使用ebay api gem的分叉版本(https://github.com/codyfauser/ebay/)
gem "ebayapi", :git => 'git://github.com/AutoRevo/ebay.git'
但是当我运行bundle install时,我收到错误。
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'
原始宝石效果很好。 (https://github.com/codyfauser/ebay)
我做错了什么?
答案 0 :(得分:2)
在这种情况下,由于没有gemspec,你不能直接从github指向它。你可以克隆repo并构建一个本地gem然后使用它。如果由于某种原因你真的想指向github然后你需要构建然后将gemspec推送到github仓库。 - bigtunacan
答案 1 :(得分:1)
由于没有gemspec,你不能直接从github指向它。你可以克隆repo并构建一个本地gem然后使用它。如果由于某种原因你真的想指向github那么你需要构建然后将gemspec推送到github仓库。