Fix Gem source_index issue

Ref:
 https://github.com/github/rails/commit/9adaec4b4f55c33efe6e358ba8c55bbc7ebbce48