From 6f7401a2e11d2bf5eb8fa3a66afcf98a10f68bea Mon Sep 17 00:00:00 2001 From: Dmitry Shibanov Date: Mon, 20 Jan 2020 16:21:19 +0300 Subject: [PATCH] update gem to latest --- images/linux/scripts/installers/ruby.sh | 2 ++ images/win/scripts/Installers/Install-Ruby.ps1 | 1 + 2 files changed, 3 insertions(+) diff --git a/images/linux/scripts/installers/ruby.sh b/images/linux/scripts/installers/ruby.sh index aa2933ffb..f09904847 100644 --- a/images/linux/scripts/installers/ruby.sh +++ b/images/linux/scripts/installers/ruby.sh @@ -9,3 +9,5 @@ source $HELPER_SCRIPTS/document.sh # Install Ruby requirements apt-get install -y libz-dev openssl libssl-dev +sudo apt-get install ruby-full +sudo gem update --system \ No newline at end of file diff --git a/images/win/scripts/Installers/Install-Ruby.ps1 b/images/win/scripts/Installers/Install-Ruby.ps1 index 72ad04309..be64e0b95 100644 --- a/images/win/scripts/Installers/Install-Ruby.ps1 +++ b/images/win/scripts/Installers/Install-Ruby.ps1 @@ -17,4 +17,5 @@ $latestRubyBinPath2_5 = Get-ChildItem -Path $toolcacheRubyPath | Sort-Object {[S Add-MachinePathItem $latestRubyBinPath2_5 $env:Path = Get-MachinePath +gem update --system exit 0