-
-
Save cpb/6187945 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
#/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