Ansicon不能与Windows工作8 [英] Ansicon doesn't work with Windows 8

查看:212
本文介绍了Ansicon不能与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.

http://imgur.com/n28vomG

尝试从提升的命令提示符下运行 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆