Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use a mirror to download/install ruby? #146

Open
asfarley opened this issue Jul 6, 2020 · 1 comment
Open

Use a mirror to download/install ruby? #146

asfarley opened this issue Jul 6, 2020 · 1 comment

Comments

@asfarley
Copy link

asfarley commented Jul 6, 2020

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?

@guxiaobai
Copy link

You can use rbenv-china-mirror

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants