Skip to content

Instantly share code, notes, and snippets.

@paulspencerwilliams
Created August 1, 2013 14:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save paulspencerwilliams/6131755 to your computer and use it in GitHub Desktop.
Save paulspencerwilliams/6131755 to your computer and use it in GitHub Desktop.
Script to reproduce Error when running with Rails4, Ruby2 - https://github.com/netzpirat/guard-cucumber/issues/42
#/usr/bin/env ruby
rails new BugReproduce -T
cd BugReproduce
echo "group :test do" >> Gemfile
echo " gem 'rspec-rails'" >> Gemfile
echo " gem 'cucumber-rails'" >> Gemfile
echo " gem 'database_cleaner'" >> Gemfile
echo "end" >> Gemfile
echo "group :development do" >> Gemfile
echo " gem 'guard-rspec'" >> Gemfile
echo " gem 'guard-cucumber'" >> Gemfile
echo "end" >> Gemfile
rails generate rspec:install
rails generate cucumber:install
guard init rspec
guard init cucumber
guard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment