中国境内升级因git问题失败

Does passing the proxy environment variables in the app.yml under the env section make it work?
And here is a solution for Rubygem under GFW: