Created
June 2, 2011 13:57
-
-
Save thechrisoshow/1004481 to your computer and use it in GitHub Desktop.
Rails Template
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
create_file '.rvmrc' do | |
'echo "RVM: Switching to Ruby 1.9.2"' | |
'rvm 1.9.2' | |
end | |
append_to_file '.gitignore', "*.sw?" | |
gem('formtastic') | |
gem('sass') | |
gem("mysql2", :group => "production") | |
gem("sqlite3", :group => "development") | |
gem("ruby-debug19", :group => "development") | |
gem("unicorn", :group => "development") | |
gem('factory_girl_rails', :group => "test") | |
gem('rspec', :group => "test") | |
gem("rspec-rails", :group => "test") | |
generate("rspec:install") | |
gem("cucumber", :group => "cucumber") | |
gem("cucumber-rails", :group => "cucumber") | |
generate("cucumber:install") | |
gem("capybara", :group => "cucumber") | |
gem("pickle", :group => "cucumber") | |
generate("pickle --paths") | |
if yes?("Would you like to install clearance?") | |
gem("clearance") | |
generate("clearance:install") | |
generate("clearance:features") | |
end | |
git :init | |
git :add => "." | |
git :commit => "-m 'First commit'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
have to escape the git commit message
eg:
git :commit => %Q{ -m 'First commit' }