@@ -14,14 +14,28 @@ environment:
1414 RUBY_VER : 21
1515 - PUPPET_GEM_VERSION : ~> 4.0
1616 RUBY_VER : 21-x64
17- - PUPPET_GEM_VERSION : ~> 4.0
18- RUBY_VER : 23
19- - PUPPET_GEM_VERSION : ~> 4.0
20- RUBY_VER : 23-x64
17+ - PUPPET_GEM_VERSION : ~> 5.0
18+ RUBY_VER : 24
19+ - PUPPET_GEM_VERSION : ~> 5.0
20+ RUBY_VER : 24-x64
21+ - PUPPET_GEM_VERSION : 4.7.1
22+ RUBY_VER : 21-x64
2123matrix :
2224 fast_finish : true
2325install :
2426- SET PATH=C:\Ruby%RUBY_VER%\bin;%PATH%
27+ - ps : |
28+ # AppVeyor appears to have OpenSSL headers available already
29+ # which msys2 would normally install with:
30+ # pacman -S mingw-w64-x86_64-openssl --noconfirm
31+ #
32+ if ( $(ruby --version) -match "^ruby\s+2\.4" ) {
33+ Write-Output "Building OpenSSL gem ~> 2.0.4 to fix Ruby 2.4 / AppVeyor issue"
34+ gem install openssl --version '~> 2.0.4' --no-ri --no-rdoc
35+ }
36+
37+ gem list openssl
38+ ruby -ropenssl -e 'puts \"OpenSSL Version - #{OpenSSL::OPENSSL_VERSION}\"; puts \"OpenSSL Library Version - #{OpenSSL::OPENSSL_LIBRARY_VERSION}\"'
2539- bundle install --jobs 4 --retry 2 --without system_tests
2640- type Gemfile.lock
2741build : off
0 commit comments