Skip to content

Commit 29ce8d8

Browse files
author
Sam Phippen
committed
Merge pull request #1589 from bquorning/fix-rails-master
Add --skip-listen flag when generating Rails apps
2 parents b9f6a02 + 2967f57 commit 29ce8d8

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)