From c4f2d54bcccdf4d88ca893004b9fc47af241a6f7 Mon Sep 17 00:00:00 2001 From: ts Date: Fri, 28 Sep 2018 08:41:18 +0100 Subject: [PATCH] Strip trailing spaces from GemExe.exe args --- lib/helpers/gem_exec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/helpers/gem_exec.rb b/lib/helpers/gem_exec.rb index 1760c5fb3..905c081e6 100644 --- a/lib/helpers/gem_exec.rb +++ b/lib/helpers/gem_exec.rb @@ -10,7 +10,7 @@ class GemExec # @param [Object] working_dir -- the location for output # @param [Object] argument -- the command to send 'init', 'install' def self.exe(gem_name, working_dir, arguments) - Print.std "Loading #{gem_name} (#{arguments}) in #{working_dir}" + Print.std "Loading #{gem_name} (#{arguments.strip}) in #{working_dir}" version = '>= 0' begin