update puma.ps1 for nio4r & Ruby 2.2 [skip travis] (#1872)

This commit is contained in:
MSP-Greg 2019-07-29 20:16:21 -05:00 committed by Nate Berkopec
parent 3066498c16
commit 0b584ab8cc
1 changed files with 9 additions and 0 deletions

View File

@ -34,6 +34,15 @@ function Pre-Compile {
Write-Host Compiling With $env:SSL_VERS
}
#———————————————————————————————————————————————————————————————— Pre-Gem-Install
function Pre-Gem-Install {
if ($ruby -lt '23') {
gem install -N --no-user-install nio4r:2.3.1
} else {
gem install -N --no-user-install nio4r
}
}
#———————————————————————————————————————————————————————————————— Run-Tests
function Run-Tests {
# call with comma separated list of gems to install or update