Menu

GitHub - ruby/rubygems-mirror: The `gem mirror` RubyGems command, creates local mirrors of all gems from a remote gem source.
📰
0

GitHub - ruby/rubygems-mirror: The `gem mirror` RubyGems command, creates local mirrors of all gems from a remote gem source.

GitHub·ruby·26 days ago
#VVcM1X3I
Reading 0:00
15s threshold

github.com/rubygems/rubygems-mirror <img src=“https://badge.fury.io/rb/rubygems-mirror.svg” alt=“Gem Version” /> DESCRIPTION: This is an update to the old ‘gem mirror` command. It uses net/http/persistent and threads to grab the mirror set a little faster than the original. Eventually it will replace `gem mirror` completely. Right now the API is not completely stable (it will change several times before release); however, I will maintain stability in master. FEATURES/PROBLEMS: Fast mirroring Limited tests - just functional REQUIREMENTS: rubygems net/http/persistent builder webrick USAGE In a file at ~/.gem/.mirrorrc add a config that looks like the following: --- - from: https://rubygems.org to: /data/rubygems parallelism: 10 retries: 3 delete: false skiperror: true hashdir: false Either install the gem, then run ‘gem mirror`, or Clone then run ‘rake mirror:update` With the environment variable ‘RUBYGEMS_MIRROR_ONLY_LATEST=TRUE`, rubygems-mirror fetches only the latest release of each gem Apache…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More