source 'https://rubygems.org' require 'json' require 'open-uri' gemspec group :test do versions = JSON.parse(open('https://pages.github.com/versions.json').read) versions.delete('ruby') versions.delete('jekyll-seo-tag') versions.delete('github-pages') versions.each do |dep, version| gem dep, version end end