Created
October 5, 2010 05:53
-
-
Save sarahmei/611071 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
run("echo gem \'rake\' >> Gemfile") | |
run("echo group :test, :development do >> Gemfile") | |
run("echo gem \'rspec-rails\', \'2.0.0.beta.22\' >> Gemfile") | |
run("echo gem \'capybara\' >> Gemfile") | |
run("echo gem \'database_cleaner\' >> Gemfile") | |
run("echo gem \'cucumber-rails\' >> Gemfile") | |
run("echo gem \'cucumber\' >> Gemfile") | |
run("echo gem \'launchy\' >> Gemfile") | |
run("echo gem \'win32console\' >> Gemfile") | |
#run("echo gem \'sqlite3-ruby\', :require \=\">\" \'sqlite3\' >> Gemfile") | |
run("echo end >> Gemfile") | |
run("bundle install") | |
generate("rspec:install") | |
generate("cucumber:install --rspec --capybara") | |
run("rm -f /c/Ruby192/lib/ruby/gems/1.9.1/specifications/rake.gemspec") | |
rake("db:migrate") | |
run("rm -rf test") | |
run("rm -rf features") | |
git(:clone => "http://github.com/sarahmei/workshop-features.git") | |
run("mv workshop-features features") | |
inside("features") { run("rm -rf .git") } | |
inside("config") { run("echo default: --format pretty > cucumber.yml") } | |
run("echo log/ > .gitignore; echo 'db/*.sqlite3' >> .gitignore;") | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment