我试图让Ruby在新的Windows 8.1计算机上运行。我已经从http://rubyinstaller.org/downloads/下载并运行rubyinstaller-1.9.3-p545.exe
,选择了它来设置环境中的路径,所有内容似乎都安装得很好。但是当我ruby -v
时,我得到一个错误的弹出对话框
Ruby interpreter (CUI) 1.9.3p545 [i386-mingw32] has stopped working
A problem has caused the program to stop working correctly.
Windows will close the program and notify you if a solution is
available.
Windows日志告诉我:
Faulting application name: ruby.exe, version: 1.9.3.545, time stamp: 0x530be127
Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
Exception code: 0xc0000005
Fault offset: 0x15c2be1f
Faulting process ID: 0xea8
Faulting application start time: 0x01cfc8486f2aeae1
Faulting application path: C:\Ruby193\bin\ruby.exe
Faulting module path: unknown
Report ID: acdf285b-343b-11e4-be88-a02bb850c78b
Faulting package full name:
Faulting package-relative application ID:
如何让Ruby在这台电脑上工作?
编辑:我非常迫切需要它,所以在没有回复的情况下,我将尝试在计算机上重置工厂并从头开始重新开始。
答案 0 :(得分:1)
我在Windows 10计算机上遇到与rubyinstaller-2.2.3
相同的问题,然后是rubyinstaller-2.0.0-p645
。有助于切换到x64兼容的安装程序(在我的情况下为rubyinstaller-2.2.3-x64
)。