Created
February 11, 2009 21:31
-
-
Save spraints/62279 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Use like this: | |
# ruby ~/src/ext/rails/railties/bin/rails APP -m ~/src/misc/mabrails.rb | |
inside('vendor') do | |
run 'ln -s ~/src/ext/rails rails' | |
end | |
file '.gitignore', <<END_IGNORE | |
.*.swp | |
log | |
tmp | |
db/schema.rb | |
db/*.sqlite3 | |
END_IGNORE | |
git :init | |
git :add => '.' | |
git :commit => "-m 'Initial commit'" | |
plugin 'haml', :submodule => true, | |
:git => 'git://github.com/nex3/haml.git' | |
plugin 'context', :submodule => true, | |
:git => 'git://github.com/jeremymcanally/context.git' | |
plugin 'restful-authentication', :submodule => true, | |
:git => 'git://github.com/technoweenie/restful-authentication.git' | |
plugin 'will_paginate', :submodule => true, | |
:git => 'git://github.com/mislav/will_paginate.git' | |
plugin 'exception_notifier', :submodule => true, | |
:git => 'git://github.com/rails/exception_notification.git' | |
rake 'gems:install', :sudo => true | |
# Set up context | |
first = true ; gsub_file('test/test_helper.rb', /^/) { |m| ok = first ; first = false ; ok ? "require 'context'\n" : "" } | |
generate 'authenticated', 'user session' | |
git :add => '.' | |
git :commit => "-m 'Installed some plugins and gems.'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment