Skip to content

Instantly share code, notes, and snippets.

@paulca
Created May 20, 2009 23:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save paulca/115163 to your computer and use it in GitHub Desktop.
Save paulca/115163 to your computer and use it in GitHub Desktop.
# template.rb
# USAGE: rails -m http://gist.github.com/gists/115163.txt PROJECT_NAME
run "rm public/index.html"
plugin 'thinking_sphinx', :git => 'git://github.com/freelancing-god/thinking-sphinx.git'
plugin 'will_paginate', :git => 'git://github.com/mislav/will_paginate.git'
plugin 'factory_girl', :git => 'git://github.com/thoughtbot/factory_girl.git'
plugin 'paperclip', :git => 'git://github.com/thoughtbot/paperclip.git'
plugin 'project_search', :git => 'git://github.com/37signals/project_search.git'
plugin 'hubahuba', :git => 'git://github.com/paulca/hubahuba.git'
generate(:rspec)
generate(:cucumber)
rake("rails:freeze:gems") if yes?("Freeze rails gems ?")
git :init
git :add => "."
git :commit => "-a -m 'Initial commit'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment