Skip to content

Instantly share code, notes, and snippets.

@paulca
Created May 20, 2009 23:42
Show Gist options
  • 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