我安装了 ANSICON 来为我的 Rails Cucumber 测试获取彩色输出。我从https://github.com/adoxa/ansicon/downloads下载了 ansicon,并使用 ansicon -i 命令安装了 x64 ansicon exe(我使用的是 64 位 Windows 7 机器)。之后,无论我在命令提示符中键入什么命令,它都会崩溃,说 "windows notresponsive" 。
例如,如果我运行命令 "rails new myapp" ,错误消息是 "ruby interpreter 1.9.3 has stop working" 。我不明白为什么安装 ansicon 会导致其他进程崩溃。
我尝试卸载 aniscon "ansicon -u" 。在此之后,一切恢复正常。