diff --git a/images/linux/scripts/installers/ruby.sh b/images/linux/scripts/installers/ruby.sh index f09904847..b1a27bc3b 100644 --- a/images/linux/scripts/installers/ruby.sh +++ b/images/linux/scripts/installers/ruby.sh @@ -7,7 +7,8 @@ # Source the helpers for use with the script 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 +sudo gem update --system + +# Install Ruby requirements +apt-get install -y libz-dev openssl libssl-dev \ 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 be64e0b95..546a4591e 100644 --- a/images/win/scripts/Installers/Install-Ruby.ps1 +++ b/images/win/scripts/Installers/Install-Ruby.ps1 @@ -17,5 +17,8 @@ $latestRubyBinPath2_5 = Get-ChildItem -Path $toolcacheRubyPath | Sort-Object {[S Add-MachinePathItem $latestRubyBinPath2_5 $env:Path = Get-MachinePath + +# Update ruby gem to latest version gem update --system + exit 0