Skip to content

Instantly share code, notes, and snippets.

@poutyface
Created December 16, 2010 17:39
Show Gist options
  • Save poutyface/743711 to your computer and use it in GitHub Desktop.
Save poutyface/743711 to your computer and use it in GitHub Desktop.
gem 'devise'
gem 'simple_form'
gem 'haml-rails'
gem 'nifty-generators'
gem 'faker', :group => [:development, :test]
gem 'factory_girl_rails', :group => [:development, :test]
gem 'webrat', :group => :test
run "bundle install"
run "rm public/index.html"
run "rm .gitignore"
file '.gitignore', <<-END
.DS_Store
.bundle
db/*.sqlite3
log/*.log
tmp/**/*
END
# nifty-generators
run "rm app/views/layouts/application.html.erb"
generate('nifty:layout', '--haml')
# for Devise
generate('devise:install')
generate('devise', 'User')
run "rake db:migrate"
# for simple_form
generate('simple_form:install')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment