Update the Rake file for Gems > 2.x.