Skip to content

Instantly share code, notes, and snippets.

@dannluciano
Created January 10, 2010 01:40
Show Gist options
  • Save dannluciano/273273 to your computer and use it in GitHub Desktop.
Save dannluciano/273273 to your computer and use it in GitHub Desktop.
$source = 'http://gemcutter.org/'
gem 'will_paginate', :lib => 'will_paginate', :source => $source
gem 'annotate', :lib => 'annotate', :source => $source
gem 'kete-tiny_mce', :lib => "tiny_mce", :source => $source
gem 'paperclip', :lib => "paperclip", :source => $source
gem 'searchlogic', :lib => "searchlogic", :source => $source
gem 'authlogic', :lib => "authlogic", :source => $source
gem 'cancan', :lib => "cancan", :source => $source
plugin 'jrails', :git => "git://github.com/aaronchi/jrails.git"
plugin 'inputs', :git => "git://github.com/jtadeulopes/inputs.git"
if yes?("RSpec?")
plugin "rspec", :git => "git://github.com/dchelimsky/rspec.git -r 'refs/tags/1.2.9'"
plugin "rspec-rails", :git => "git://github.com/dchelimsky/rspec-rails.git -r 'refs/tags/1.2.9'"
rake "gems:install"
generate :rspec
else
rake "gems:install"
end
git :init
file ".gitignore", <<-END
.DS_Store
log/*.log
tmp/**/*
config/database.yml
db/*.sqlite3
END
run "touch tmp/.gitignore log/.gitignore vendor/.gitignore"
run "cp config/database.yml config/example_database.yml"
run "rm public/index.html"
generate :controller, "home index"
route "map.root :controller => 'home'"
git :add => ".", :commit => "-a -m 'initial commit'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment