Skip to content

Instantly share code, notes, and snippets.

@ultrasaurus
Created July 27, 2011 03:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ultrasaurus/1108601 to your computer and use it in GitHub Desktop.
Save ultrasaurus/1108601 to your computer and use it in GitHub Desktop.
run("echo gem \\'rake\\', \\'0.8.7\\' >> Gemfile;")
run("echo group :test, :development do >> Gemfile;")
run("echo gem \\'rspec-rails\\', \\'\\>\\= 2.3.0\\' >> Gemfile;")
run("echo gem \\'capybara\\', \\'0.4.0\\' >> Gemfile;")
run("echo gem \\'database_cleaner\\' >> Gemfile;")
run("echo gem \\'cucumber-rails\\' >> Gemfile;")
run("echo gem \\'launchy\\' >> Gemfile;")
run("echo end >> Gemfile;")
run("bundle install")
generate("rspec:install")
generate("cucumber:install --rspec --capybara")
run("bundle exec rake db:migrate")
run("rm -rf features")
git(:clone => "git://github.com/cde/es-workshop-features.git")
run("mv es-workshop-features features")
inside("features") { run("rm -rf .git") }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment