1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00

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

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