Installing Puma on Windows error

前端 未结 2 1183
情话喂你
情话喂你 2020-12-18 16:40

Tried installing Puma on Windows and getting this error -

Temporarily enhancing PATH to include DevKit...
Building native extensions with: \'--with-opt-dir=c         


        
2条回答
  •  一整个雨季
    2020-12-18 16:43

    To give you a summary of things you need to do:

    Download OpenSSL package for x64-windows (since you're using x64 version of Ruby): http://packages.openknapsack.org/openssl/openssl-1.0.0k-x64-windows.tar.lzma Extract the package, as indicated in several RubyInstaller posts Proceed again with gem installation and point to the directory where you extracted OpenSSL

    The commands will be something like this:

    C:\>mkdir C:\MyDir\x64-windows
    C:\>cd C:\MyDir\x64-windows
    C:\MyDir\x64-windows>bsdtar --lzma -xf openssl-1.0.0k-x64-windows.tar.lzma
    C:\>gem install puma --platform=ruby -- --with-opt-dir=C:/MyDir/x64-windows
    

提交回复
热议问题