never_had_a_name
never_had_a_name

Reputation: 93176

Get repository link from gem?

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?

Upvotes: 0

Views: 70

Answers (1)

wuputah
wuputah

Reputation: 11395

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).

Upvotes: 2

Related Questions