Ruby on rails 在windows中使用Puma over ssl运行Rails应用程序
我正在尝试在Windows ServerR2中使用Puma over ssl运行我的rails应用程序。我听了一个回答。我已经用SSL目录安装了puma,并使用Ruby on rails 在windows中使用Puma over ssl运行Rails应用程序,ruby-on-rails,windows,ssl,puma,Ruby On Rails,Windows,Ssl,Puma,我正在尝试在Windows ServerR2中使用Puma over ssl运行我的rails应用程序。我听了一个回答。我已经用SSL目录安装了puma,并使用 >puma -b 'ssl://127.0.0.1:3000?cert=C:\Sites\server.crt&&key=C:Sites\server.key' -e development -S puma -C config\puma.rb 此外,我还使用创建了证书和密钥。但是我得到了错误 C:/RailsIn
>puma -b 'ssl://127.0.0.1:3000?cert=C:\Sites\server.crt&&key=C:Sites\server.key' -e development -S puma -C config\puma.rb
此外,我还使用创建了证书和密钥。但是我得到了错误
C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/puma-2.15.3/lib/puma/binder.rb:131:in `check': SSL not available in this build (StandardError)
在rails 5.2.3和puma 3.12中非常有效
gem uninst puma
ridk exec pacman -S mingw-w64-x86_64-openssl
gem inst puma
请参阅。您可能需要在Windows上安装OpenSSL。所以您正在尝试在Windows计算机上部署代码???