开发者

Get repository link from gem?

开发者 https://www.devze.com 2023-01-13 05:00 出处:网络
Is it possible to get the git repository of a gem? Eg the gem thor has开发者_运维百科 repo of http://github.com/wycats/thor.git

Is it possible to get the git repository of a gem?

Eg the gem thor has开发者_运维百科 repo of http://github.com/wycats/thor.git

Could I get this repo link from the thor gem?


No, gems do not store any information about where their active development is located. Some gems do have a home page declared, but that is not necessarily their git repository (not everyone uses Github). Everything that Rubygems knows about the gem is in its gemspec (which you can view on Github).

0

精彩评论

暂无评论...
验证码 换一张
取 消