我在 Windows 上使用 ruby(ruby 1.9.3p194(2012-04-20 修订版 35410)[i386-mswin32_90])。在我的 gemfile 中,我有以下内容:-
gem 'rack', '1.4.5'
gem 'thin', '1.5.0'
问题是当我试图通过指定 ssl 选项开始瘦身时:-
ruby bin/thin --ssl -a 127.0.0.1 -p 44466 start
我启动服务器,但在访问https://localhost:44466
. 我使 ruby 崩溃并在控制台上显示错误,并且弹出窗口说 ruby 解释器已停止工作。
"This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information."
Faulting application name: ruby.exe, version: 1.9.3.194, time stamp: 0x5154804d
Faulting module name: MSVCR90.dll, version: 9.0.30729.4940, time stamp: 0x4ca2ef57
Exception code: 0x40000015
Fault offset: 0x0005beae
Faulting process id: 0x11d4
Faulting application start time: 0x01cf7fb6cca849aa
Faulting application path: C:\Ruby19\bin\ruby.exe
Faulting module path:C:\Windows\WinSx\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4940_none_50916076bcb9a742\MSVCR90.dll
报告 ID:47c368b9-ebaa-11e3-8cd8-8c89a5d53bc0`
我尝试了 ruby 和 openssl 的不同版本。但没有运气。我在 Windows 平台上并使用 microsoft visual studio8 进行编译。如果我遗漏了一些步骤,请告诉我。如何删除/避免此“msvcr90.dll”错误。
platform :- windows7
Ruby :- ruby1.9.3p194 / ruby1.9.3p545
Openssl :- openssl 1.0.0d/openssl 1.0.0e
请建议我是否遗漏任何东西,如果 ruby1.9.3 mswin 对薄 ssl 有一些问题?