Skip to content

Instantly share code, notes, and snippets.

@lapluviosilla
Created August 17, 2010 00:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lapluviosilla/528066 to your computer and use it in GitHub Desktop.
Save lapluviosilla/528066 to your computer and use it in GitHub Desktop.
##############commands#################
run "rm .gitignore"
file '.gitignore', <<-ENDEND
*~
.bundle
nbproject/
.idea
.DS_Store
Thumbs.db
db/*.sqlite3
log/*.log
tmp/**/*
vendor/rails
vendor/gems/*
public/stylesheets/compiled
public/system/*
public/javascripts/*_packaged.js
public/stylesheets/*_packaged.css
ENDEND
inside('public') { run "rm index.html" }
############## dependencies #################
gem "haml"
gem "haml-rails"
gem "less"
gem "flutie"
gem "simple_form"
gem "inherited_resources"
gem "has_scope"
gem "devise"
gem "mongoid", ">= 2.0.0.beta.16"
gem "bson_ext"
gem "mongrel", :group => [:development, :test]
gem "shoulda", :group => [:development, :test]
gem "fabrication", :group => [:development, :test]
gem "test-unit", :group => :test
gem "rr", :group => :test
gem "cucumber", :group => :test
gem "rails3-generators", :group => :development
run "bundle install"
############# config ###############
generate 'jquery:install'
generate 'simple_form:install', :handler => :haml
generate 'mongoid:install'
generate 'mongoid:config'
generate 'devise:install'
############## git #################
git :init
git :add => "."
git :commit => "-a -m 'Initial import.'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment