Upgrade aus China schlägt wegen Git-Problemen fehl

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: