Ansicon不能与Windows工作8 [英] Ansicon doesn't work with Windows 8
问题描述
Ansicon似乎并不想与Windows 8的工作
Ansicon does not seem to want to work with Windows 8.
1 - 我正确地安装它: ansicon -i
x64的目录下(因为我有赢8 64位计算机上/安装)
2 - 我推出一个新的命令窗口,运行 RSpec的
来运行Ruby的单元测试
1 - I install it correctly : ansicon -i
under the x64 directory (since I have Win 8 on a 64-bit machine/install),
2 - I launch a new command window, run rspec
to run unit tests in ruby
结果 - 的ANSI字符仍显示未转换的原始数据。
Result - the ANSI characters are still displaying the raw unconverted data.
任何帮助将是AP preciated;谢谢。
Any help would be appreciated; thanks.
推荐答案
听起来像是 ansicon
可能没有正确安装。我有 ansicon
在Windows 8上运行良好的64位用Ruby 1.9.3p392。
Sounds like ansicon
might not have installed correctly. I've got ansicon
working well on Windows 8 64-bit with Ruby 1.9.3p392.
尝试从提升的命令提示符下运行 ansicon -i
,看看有什么差别。如果您没有管理员权限,运行 ansicon -p
挂钩到父进程当前会话,然后看看 RSpec的
返回彩色输出即可。
Try running ansicon -i
from an elevated Command Prompt and see if that makes any difference. If you don't have administrator permissions, run ansicon -p
to hook into the parent process for the current session and then see if rspec
returns colored output then.
如果您仍然无法得到它的工作,也许尝试重新安装 ansicon
的最新版本。我安装的是64位文件( ANSI32.dll
, ANSI64.dll
, ansicon。在我的Ruby的
,斌
目录中的EXE ANSI-LLW.exe
),所以我知道这是在我的道路。
If you still can't get it to work, maybe try reinstalling the latest version of ansicon
. I installed the 64-bit files (ANSI32.dll
, ANSI64.dll
, ansicon.exe
, ANSI-LLW.exe
) in my Ruby's bin
directory so I know it's in my PATH.
这篇关于Ansicon不能与Windows工作8的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!