From 6c05d5b037a25dbefccd1fc42081573acbe36e10 Mon Sep 17 00:00:00 2001 From: Emilien Macchi Date: Fri, 18 Aug 2017 09:19:46 -0700 Subject: [PATCH] install_modules: run gem with verbose option verbose option will help us to see why gem install can fail -- and also make sure we're deploying from the mirrors. Change-Id: Ia2b4955468ac1189f6f81798c684649390621155 --- install_modules.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install_modules.sh b/install_modules.sh index 4760557aa..02bf15282 100755 --- a/install_modules.sh +++ b/install_modules.sh @@ -24,11 +24,11 @@ source $SCRIPT_DIR/functions print_header 'Start (install_modules.sh)' print_header 'Install r10k' # fast_gettext 1.2.0+ requires ruby 2.1.0 -gem install fast_gettext -v '< 1.2.0' +gem install fast_gettext -v '< 1.2.0' --verbose # puppet_forge 2.2.7 has a dependency on semantic_puppet ~> 1.0 # which is not compatible with dependency of latest r10k on semantic_puppet ~> 0.1.0 -gem install puppet_forge -v '= 2.2.6' -gem install r10k --no-ri --no-rdoc +gem install puppet_forge -v '= 2.2.6' --verbose +gem install r10k --no-ri --no-rdoc --verbose # make sure there is no puppet module pre-installed rm -rf "${PUPPETFILE_DIR:?}/"*