MirrorsProxy.Download

换源/RubyGems · Bundler

RubyGems · Bundler 镜像源

RubyGems 国内镜像源,gem install 与 bundle install 提速。

可用镜像源(7)

换源方法

gem 换源

gem sources --remove https://rubygems.org/
gem sources -a https://mirrors.tuna.tsinghua.edu.cn/rubygems/
gem sources -l

Bundler 镜像(只镜像官方源)

bundle config mirror.https://rubygems.org https://mirrors.tuna.tsinghua.edu.cn/rubygems/

使用提示

  • ·先用 `chsrc measure ` 或本站节点测速挑最快源,别盲选。
  • ·镜像同步通常滞后几分钟到几小时,刚发布的版本拉不到时临时回官方源。
  • ·锁定版本 / 提交 lockfile,避免不同源之间版本漂移。
  • ·私有包与凭据不要发给第三方镜像;私有仓库走官方或自建源。

其他工具

← 返回换源索引