Gemspec contains the homepage attribute, which often shows the source code repository. You can view the gemspec of a locally installed pearl with:
gem spec delayed_job
View your homepage with
gem spec delayed_job | grep homepage
However, gemspec does not always have the original repo.
To solve this problem (and others), I wrote a gem called gemdiff . It performs a gemspec check, and if it does not contain a github url, it looks for github to match. It includes exceptions for gems such as delayed_job , which is the fork of the original delayed_job repository.
gem install gemdiff gemdiff find delayed_job => http:
Moreover, gemdiff will check your project package and show you the difference in source code between the version of the gem you installed and the highest version that can be installed as determined by the package.
https://github.com/teeparham/gemdiff
source share