Rewrite Gemfile