rubygems still use .org (#407)
[discourse_docker.git] / templates / web.china.template.yml
1 hooks:
2 before_web:
3 - exec:
4 cmd:
5 - gem sources --add https://gems.ruby-china.com/ --remove https://rubygems.org/
6
7 before_bundle_exec:
8 - exec:
9 cmd:
10 - su discourse -c 'bundle config mirror.https://rubygems.org https://gems.ruby-china.com/'