File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -16,12 +16,19 @@ init:
1616install :
1717 - ps : |
1818 if ($Env:RUBY_VERSION -match "^23" ) {
19- ((New-Object Net.WebClient).DownloadFile('https://curl.haxx.se/ca/cacert.pem', "$env:TMP\ca-cert.pem"))
20- set SSL_CERT_FILE=%TMP%\ca-cert.pem
19+ # RubyInstaller; download OpenSSL headers from OpenKnapsack Project
20+ $Env:openssl_dir = "C:\Ruby${Env:RUBY_VERSION}"
21+ appveyor DownloadFile http://dl.bintray.com/oneclick/OpenKnapsack/x64/openssl-1.0.2j-x64-windows.tar.lzma
22+ 7z e openssl-1.0.2j-x64-windows.tar.lzma
23+ 7z x -y -oC:\Ruby${Env:RUBY_VERSION} openssl-1.0.2j-x64-windows.tar
24+ } else {
25+ # RubyInstaller2; openssl package seems to be installed already
26+ $Env:openssl_dir = "C:\msys64\mingw64"
2127 }
28+ - set SSL_CERT_FILE=C:/ruby24-x64/ssl/cert.pem
2229 - bundle install
2330 - gem uninstall -a -x --force eventmachine
24- - gem install eventmachine --platform ruby --no-rdoc --no-ri
31+ - gem install eventmachine --platform ruby --no-rdoc --no-ri -- --with-ssl-dir=%openssl_dir%
2532
2633build : off
2734
You can’t perform that action at this time.
0 commit comments