remove_file "README"
remove_file "doc/"
remove_file "public/index.html"
remove_file "public/images/rails.png"
remove_file "config/database.yml"
append_file '.gitignore', "config/database.yml\nvendor/ruby"

# cleanup gemfile, by removing all commented lines
gsub_file "Gemfile", /#.*\n/, "\n"
gsub_file "Gemfile", /\n+/, "\n"

application do
  (" " * 2) + "config.generators do |generator|\n" +
  (" " * 4) + "end\n"
end

remove_file "README"
remove_file "doc/"
remove_file "public/index.html"
remove_file "public/images/rails.png"
remove_file "config/database.yml"
append_file '.gitignore', "config/database.yml\nvendor/ruby\n"

# cleanup gemfile, by removing all commented lines
gsub_file "Gemfile", /#.*\n/, "\n"
gsub_file "Gemfile", /\n+/, "\n"

application do
  (" " * 2) + "config.generators do |generator|\n" +
  (" " * 4) + "end\n"
end

Add proper newline after gitignore-ing vendored gems
Add proper newline after gitignore-ing vendored gems