rbenv
rbenv copied to clipboard
Use a mirror to download/install ruby?
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?
You can use rbenv-china-mirror
rbenv_plugins:
- {
name: rbenv-china-mirror,
repo: https://github.com/AndorChen/rbenv-china-mirror.git,
version: master
}