1 2 3 4 5 6 7
class AppBuilder < Rails::AppBuilder def gitignore create_file ".gitignore", <<-R.strip foobar R end end