remove_file "README.rdoc"
create_file "README.md", "TODO"
gem "rspec-rails", group: [:test, :development]
run "bundle install"
generate "rspec:install"
if yes? "Do you want to generate a root controller?"
name = ask("What should it be called?").underscore
generate :controller, "#{name} index"
route "root to: '#{name}\#index'"
remove_file "public/index.html"
end
git :init
append_file ".gitignore", "config/database.yml"
run "cp config/database.yml config/example_database.yml"
git add: ".", commit: "-m 'initial commit'"