mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 13:17:54 +00:00
update gem to latest
This commit is contained in:
@@ -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
|
||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user