Puma installation error on windows

前端 未结 1 482
半阙折子戏
半阙折子戏 2021-01-06 00:01

I am trying to install puma gem on Windows machine. I am getting the following error. Went through a couple of forums but in vain.

C:/railsInstaller/Ruby2.0.         


        
相关标签:
1条回答
  • 2021-01-06 00:57

    I ran bundle update before bundle install and that solved the issue for me.

    I'm not sure if that was the only thing that helped, as I manually updated puma before that, using these steps:

    1. Checked which version of openssl Ruby is using by running ruby -v -ropenssl -e "puts OpenSSL::OPENSSL_VERSION"
    2. Downloaded the right openssl version from http://packages.openknapsack.org/openssl/openssl-1.0.0o-x86-windows.tar.lzma (got the link from https://github.com/hicknhack-software/rails-disco/wiki/Installing-puma-on-windows and edited it based on the output of #1).
    3. Extracted openssl using http://www.7-zip.org to C:\RailsInstaller\openssl
    4. gem install puma -- --with-opt-dir=C:/RailsInstaller/openssl
    0 讨论(0)
提交回复
热议问题