How to read the RubyGems specs file

Had an issue with gems not being downloaded from JFrog’s Artifactory. Basically it looked as if gem install could not be found on the Artifactory repo, yet manually browsing the repo, the gem was properly uploaded.

Reading the specs file that is downloaded during gem install highlighted the issue, which is deploying a same gem version didn’t properly show up in the specs file.

# the ;1 is to prevent the possible long list of gems to display afterwards
irb(main)> list  = Marshal.load(Gem.gunzip("specs.4.8.gz")));1