新手问题 运行 rspec 时的一些乱码怎么解决? 这种

wgf4242 · March 03, 2013 · Last by ericguo replied at March 03, 2013 · 2618 hits

E:\Ruby\Project\sample_app>rspec spec [32m.[0m[31mF[0m[32m.[0m

[31mrspec ./spec/controllers/pages_controller_spec.rb:20[0m [36m# PagesCon ller GET 'about' should be successful[0m

这是用来输出颜色的,大概是 Windows 不支持。可以把 .rspec 文件中的 --color 选项去掉。

You need to Sign in before reply, if you don't have an account, please Sign up first.