Skip to content

Instantly share code, notes, and snippets.

@AlSquire
Created June 25, 2009 13:20
Show Gist options
  • Save AlSquire/135862 to your computer and use it in GitHub Desktop.
Save AlSquire/135862 to your computer and use it in GitHub Desktop.
gem "thoughtbot-shoulda", :lib => "shoulda", :source => "http://gems.github.com" if yes?('Use shoulda gem?')
gem "thoughtbot-factory_girl", :lib => "factory_girl", :source => "http://gems.github.com" if yes?('Use factory_girl gem?')
gem "mocha" if yes?('Use mocha gem?')
gem "haml" if yes?('Use haml gem?')
if yes?('Git init?')
git :init
file '.gitignore', <<-EOF
log
tmp
db/*.sqlite3
db/schema.rb
db/data.yml # Heroku file for export/import datas, obsolete since "taps"
EOF
git :add => "."
git :commit => '-m "Initial commit"' # Need double quotes around commit message, win only ?
end
# TODO: add heroku specifics ? .gems manifest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment