update gem to latest

This commit is contained in:
Dmitry Shibanov
2020-01-20 16:21:19 +03:00
parent 95954b3f02
commit 6f7401a2e1
2 changed files with 3 additions and 0 deletions

View File

@@ -9,3 +9,5 @@ source $HELPER_SCRIPTS/document.sh
# Install Ruby requirements # Install Ruby requirements
apt-get install -y libz-dev openssl libssl-dev apt-get install -y libz-dev openssl libssl-dev
sudo apt-get install ruby-full
sudo gem update --system

View File

@@ -17,4 +17,5 @@ $latestRubyBinPath2_5 = Get-ChildItem -Path $toolcacheRubyPath | Sort-Object {[S
Add-MachinePathItem $latestRubyBinPath2_5 Add-MachinePathItem $latestRubyBinPath2_5
$env:Path = Get-MachinePath $env:Path = Get-MachinePath
gem update --system
exit 0 exit 0