# rails new_app_name -m viget.rb # freeze rails rake 'rails:freeze:gems' # install gems gem 'mocha', :version => '>= 0.9.5' gem 'thoughtbot-factory_girl', :lib => 'factory_girl', :source => 'http://gems.github.com', :version => '>= 1.2.0' gem 'thoughtbot-shoulda', :lib => 'shoulda', :source => 'http://gems.github.com', :version => '>= 2.10.1' rake 'gems:install gems:unpack' # install plugins plugin 'hoptoad_notifier', :git => 'git://github.com/thoughtbot/hoptoad_notifier.git' plugin 'jrails', :git => 'git://github.com/aaronchi/jrails.git' plugin 'model_generator_with_factories', :git => 'git://github.com/vigetlabs/model_generator_with_factories.git' plugin 'viget_deployment', :git => 'git://github.com/vigetlabs/viget_deployment.git' plugin 'vl_cruise_control', :git => 'git://github.com/vigetlabs/vl_cruise_control.git' # generate viget_deployment stuff generate :viget_deployment # clean up run 'rm -rf public/index.html log/* test/fixtures config/database.yml' inside ('public/javascripts') do run 'rm -f dragdrop.js controls.js effects.js prototype.js' end rake 'jrails:install:javascripts'