Skip to content

Commit 2967f57

Browse files
committed
Add --skip-listen flag when generating Rails apps
Some specs fail when Rails is using the 'listen' gem, added in rails/rails@de6ad56. The --skip-listen flag option was added in rails/rails@94dbc48.
1 parent b9f6a02 commit 2967f57

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Rakefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ namespace :generate do
3636

3737
# Rails 4 cannot use a `rails` binstub generated by Bundler
3838
sh "rm -f #{bindir}/rails"
39-
sh "bundle exec rails new ./tmp/example_app --skip-javascript --skip-sprockets --skip-git --skip-test-unit --skip-bundle --template=example_app_generator/generate_app.rb"
39+
sh "bundle exec rails new ./tmp/example_app --skip-javascript --skip-sprockets --skip-git --skip-test-unit --skip-listen --skip-bundle --template=example_app_generator/generate_app.rb"
4040

4141
in_example_app do
4242
sh "./travis_retry_bundle_install.sh 2>&1"
@@ -158,7 +158,7 @@ namespace :no_active_record do
158158

159159
# Rails 4 cannot use a `rails` binstub generated by Bundler
160160
sh "rm -f #{bindir}/rails"
161-
sh "bundle exec rails new #{example_app_dir} --skip-active-record --skip-javascript --skip-sprockets --skip-git --skip-test-unit --skip-bundle --template=example_app_generator/generate_app.rb"
161+
sh "bundle exec rails new #{example_app_dir} --skip-active-record --skip-javascript --skip-sprockets --skip-git --skip-test-unit --skip-listen --skip-bundle --template=example_app_generator/generate_app.rb"
162162

163163
in_example_app(:app_dir => example_app_dir) do
164164
sh "./travis_retry_bundle_install.sh 2>&1"

0 commit comments

Comments
 (0)