Revert "Swap order of Gemfile source lines"

This reverts commit 50283dd911950f9f72847cca753eac7ebb2087b4.

The search order is actually from last to first