File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -14,11 +14,17 @@ init:
1414 - set PATH=C:\Ruby%RUBY_VERSION%\bin;%PATH%
1515
1616install :
17- - ps : >-
18- appveyor DownloadFile https://dl.bintray.com/oneclick/OpenKnapsack/x64/openssl-1.0.2j-x64-windows.tar.lzma
17+ - ps : |
18+ 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
1922 7z e openssl-1.0.2j-x64-windows.tar.lzma
20- 7z x -y openssl-1.0.2j-x64-windows.tar -o C:\ruby23-x64\DevKit\mingw\x86_64-w64-mingw32
21- # $env:b_config = "--with-ssl-dir=C:/Ruby23-x64/DevKit/mingw --with-opt-include=C:/Ruby23-x64/DevKit/mingw/include"
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"
27+ }
2228 - bundle install
2329 - gem uninstall -a -x --force eventmachine
2430 - gem install eventmachine --platform ruby --no-rdoc --no-ri
You can’t perform that action at this time.
0 commit comments