okiess (owner)

Revisions

gist: 165969 Download_button fork
public
Public Clone URL: git://gist.github.com/165969.git
Embed All Files: show embed
standard_rails_template.rb #
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
############## plugin commands #################
 
plugin 'will_paginate', :git => 'git://github.com/mislav/will_paginate.git'
plugin 'factory_girl', :git => "git://github.com/thoughtbot/factory_girl.git"
plugin 'attachment_fu', :git => "git://github.com/technoweenie/attachment_fu.git"
plugin 'live_validations', :git => 'git://github.com/augustl/live-validations.git'
plugin 'new_relic', :git => 'git://github.com/newrelic/rpm.git'
plugin 'localized_dates', :git => 'git://github.com/clemens/localized_dates.git'
plugin 'pacecar', :git => 'git://github.com/thoughtbot/pacecar.git'
plugin 'shoulda', :git => 'git://github.com/thoughtbot/shoulda.git'
plugin 'resource_controller', :git => 'git://github.com/giraffesoft/resource_controller.git'
plugin 'yaml_db', :git => 'git://github.com/adamwiggins/yaml_db.git'
plugin 'hoptoad_notifier', :git => 'git://github.com/thoughtbot/hoptoad_notifier.git'
plugin 'country_select', :git => 'git://github.com/rails/country_select.git'
plugin 'annotate_models', :svn => 'http://repo.pragprog.com/svn/Public/plugins/annotate_models'
plugin 'time_warp', :git => 'git://github.com/iridesco/time-warp.git'
plugin 'bullet', :git => 'git://github.com/flyerhzm/bullet.git'
plugin 'bootstrapper', :git => 'git://github.com/sevenwire/bootstrapper.git'
plugin 'right-rails', :git => 'git://github.com/MadRabbit/right-rails.git'
 
############## commands #################
 
run "touch tmp/.gitignore log/.gitignore vendor/.gitignore"
run %{find . -type d -empty | grep -v "vendor" | grep -v ".git" | grep -v "tmp" | xargs -I xxx touch xxx/.gitignore}
file '.gitignore', <<-ENDEND
.DS_Store
log/*.log
tmp/**/*
config/database.yml
db/*.sqlite3
ENDEND
run "rm README"
run "rm public/index.html"
run "rm public/images/rails.png"
run "rm public/favicon.ico"
 
############## git #################
 
run "git init"
run "git add ."
run 'git commit -a -m"Initial Import"'