Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strange characters #44

Closed
satrya opened this issue Apr 12, 2013 · 6 comments
Closed

Strange characters #44

satrya opened this issue Apr 12, 2013 · 6 comments
Labels

Comments

@satrya
Copy link

@satrya satrya commented Apr 12, 2013

My first try and I got this

{←[0;31;49mpre←[0m} AND {←[0;31;49mtable, td←[0m} share ←[0;31;49m5←[0m rules {←[0;31;49mfieldset←[0m} AND {←[0;31;49mpre←[0m} share ←[0;31;49m4←[0m rules {←[0;31;49m.wp-smiley←[0m} AND {←[0;31;49mlegend←[0m} share ←[0;31;49m3←[0m rule s {←[0;31;49m::-moz-selection←[0m} AND {←[0;31;49m::selection←[0m} share ←[0;31;49 m3←[0m rules {←[0;31;49mhr←[0m} AND {←[0;31;49mtable, td←[0m} share ←[0;31;49m3←[0m rules {←[0;31;49m.wp-caption-text:before←[0m} AND {←[0;31;49mh6, .zeta←[0m} share ←[0; 31;49m3←[0m rules {←[0;31;49mtable, td←[0m} AND {←[0;31;49mth←[0m} share ←[0;31;49m3←[0m rules {←[0;31;49mfieldset←[0m}, {←[0;31;49mlegend←[0m} AND {←[0;31;49mtextarea, select, input[type="email"], input[type="password"], input[type="search"], input[type="text"], input[type="url"], input[class_="text"]←[0m} share ←[0;31;49m3←[0m rules {←[0;31;49m.wp-caption-text←[0m}, {←[0;31;49mfieldset←[0m}, {←[0;31;49mlabel←[0m } AND {←[0;31;49mtable←[0m} share ←[0;31;49m3←[0m rules {←[0;31;49minput[type="file"]:focus, input[type="radio"]:focus, input[type="checkbox"]:focus, select:focus, button:focus, input[type="reset"]:focus, input[type="submit"]:focus, input[type="button"]:focus←[0m}, {←[0;31;49minput[type="file"]:focus, input[type ="file"]:active, input[type="radio"]:focus, input[type="radio"]:active, input[type="checkbox"]:focus, input[type="checkbox"]:active←[0m} AND {←[0;31;49mtextarea, select, input[type="email"], input[type="password"], input[type="search"], input[type="text"], input[type="url"], input[class_="text"]←[0m} share ←[0;31;49m3←[0m rules

  • RUBYGEMS VERSION: 2.0.3
  • RUBY VERSION: 1.9.3 (2012-11-10 patchlevel 327) [i386-mingw32]
@peterkeating
Copy link

@peterkeating peterkeating commented Apr 12, 2013

I also get output like this with the same version of Ruby. Think it might be an issue on Windows?

@zmoazeni
Copy link
Owner

@zmoazeni zmoazeni commented Apr 12, 2013

Sorry. It is windows only. Run with the --no-color switch. I should detect the windows platform and change the default accordingly.

@peterkeating
Copy link

@peterkeating peterkeating commented Apr 12, 2013

Yeps, running with the --no-color switch outputs results correctly :)

@satrya
Copy link
Author

@satrya satrya commented Apr 12, 2013

Yes, it working now.

What is the --no-color means?

@peterkeating
Copy link

@peterkeating peterkeating commented Apr 12, 2013

--no-color disables the output from being colourized, which is true by default.

@satrya
Copy link
Author

@satrya satrya commented Apr 12, 2013

@peterkeating thanks for the asnwer.

@satrya satrya closed this Apr 12, 2013
zmoazeni added a commit that referenced this issue Apr 13, 2013
I've gotten a report that color support on windows && ruby 2.0 just
works. So let's try and only disable it in window && ruby 1.9

refs: #48, #44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.