rails new + gemfile changes, ported from mercurial