Skip to content

Commit 0c69f45

Browse files
author
Sam Phippen
committed
Add active_support to the app generator
Because of this trace: https://travis-ci.org/rspec/rspec-rails/jobs/120133080#L5065-L5080
1 parent e2e196d commit 0c69f45

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

example_app_generator/generate_app.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
function_script_file = File.join(rspec_rails_repo_path, 'script/functions.sh')
1414

1515
in_root do
16+
prepend_to_file "Rakefile", "require 'active_support/all'"
17+
1618
# Remove the existing rails version so we can properly use master or other
1719
# edge branches
1820
gsub_file 'Gemfile', /^.*\bgem 'rails.*$/, ''

0 commit comments

Comments
 (0)