rewrite gemfile for deploy