A static gem source on GitHub Pages: https://docspring.github.io/gems/. It serves every .gem attached to the
releases listed in sources.txt, today DocSpring's Sorbet build (DocSpring/sorbet, tags docspring-*), which adds
the rewriter plugins from DocSpring/sorbet-plugins.
source 'https://docspring.github.io/gems/' do
gem 'sorbet'
gem 'sorbet-static'
gem 'sorbet-static-and-runtime'
endList all three: Tapioca and Spoom depend on sorbet-static-and-runtime, which pins sorbet exactly, and a gem
outside the block would come from rubygems.org. Our versions add a fourth part to the upstream version they're based
on (0.6.13583.1), so they never collide with an upstream release.
The repository holds no gems. The Publish workflow downloads them from the releases, runs gem generate_index
(the compact index Bundler reads, and the Marshal index gem install reads) and deploys the result to Pages. It runs
on every push to main; after a new release elsewhere, run it by hand:
gh workflow run publish.yml --repo DocSpring/gemsNever delete a release whose gems a lockfile uses: the next publish drops them from the index. To build the index
locally, gem install rubygems-generate_index and run script/build site.