File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -16,18 +16,12 @@ init:
1616install :
1717 - ps : |
1818 if ($Env:RUBY_VERSION -match "^23" ) {
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"
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
2721 }
2822 - bundle install
2923 - gem uninstall -a -x --force eventmachine
30- - gem install eventmachine --platform ruby --no-rdoc --no-ri -- --with-ssl-dir=%openssl_dir%
24+ - gem install eventmachine --platform ruby --no-rdoc --no-ri
3125
3226build : off
3327
You can’t perform that action at this time.
0 commit comments