rbenv icon indicating copy to clipboard operation
rbenv copied to clipboard

Use a mirror to download/install ruby?

Open asfarley opened this issue 4 years ago • 1 comments

I'm finding that a particular server I'm maintaining cannot reach cache.ruby-lang.org, but it can reach one of the mirrors located in China:

https://cache.ruby-china.com/pub/ruby/

Is it possible to direct rbenv via this Ansible package to use this mirror?

asfarley avatar Jul 06 '20 22:07 asfarley

You can use rbenv-china-mirror

rbenv_plugins:
  - {
    name: rbenv-china-mirror,
    repo: https://github.com/AndorChen/rbenv-china-mirror.git,
    version: master
  }

guxiaobai avatar Nov 22 '21 12:11 guxiaobai