From 3966a37d71c506266822586be911b0828c5753b5 Mon Sep 17 00:00:00 2001 From: Ashwin Maroli Date: Sat, 24 Sep 2016 13:45:50 +0530 Subject: [PATCH] swallow bundle output in CI --- lib/jekyll/commands/new.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/jekyll/commands/new.rb b/lib/jekyll/commands/new.rb index c8569164..0a0c8b53 100644 --- a/lib/jekyll/commands/new.rb +++ b/lib/jekyll/commands/new.rb @@ -133,7 +133,11 @@ RUBY Jekyll::External.require_with_graceful_fail "bundler" Jekyll.logger.info "Running bundle install in #{path.cyan}..." Dir.chdir(path) do - system("bundle", "install") + if ENV["CI"] + system("bundle", "install", "--quiet") + else + system("bundle", "install") + end end end end