中国国内からのアップグレードが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: