Skip to content

Instantly share code, notes, and snippets.

@cpb
Forked from paulspencerwilliams/repo.sh
Last active December 20, 2015 20:08
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 cpb/6187945 to your computer and use it in GitHub Desktop.
Save cpb/6187945 to your computer and use it in GitHub Desktop.
#/usr/bin/env ruby
rails new BugReproduce -T
cd BugReproduce
echo "group :test do" >> Gemfile
echo " gem 'cucumber-rails'" >> Gemfile
echo " gem 'rspec-rails'" >> Gemfile
echo " gem 'database_cleaner'" >> Gemfile
echo "end" >> Gemfile
echo "group :development do" >> Gemfile
echo " gem 'guard-cucumber'" >> Gemfile
echo " gem 'guard-rspec'" >> Gemfile
echo "end" >> Gemfile
bundle install
bundle exec rails generate cucumber:install
bundle exec guard init cucumber
bundle exec guard init rspec
bundle exec guard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment