On Feb 11, 2011, at 8:52 PM, Luis Lavena wrote:

> Hello,
> 
> Just had the time to get back to RubyGems, and found that "rake test"
> do not complete due the way Gem::SilentUI is now interacting with nul
> device
> 
> test_ask_for_password(TestGemSilentUI) 
> [test/rubygems/test_gem_silent_ui.rb:34]:
> 
> expected empty result but got "\n" because I pressed 'enter' to continue
> 
> NUL: is retuning tty? as true, leading to _getch from console be required.
> 
> Seems that isatty implementation of Ruby uses _isatty MSVCRT usage,
> which is broken:
> 
> http://stackoverflow.com/questions/3648711/detect-nul-file-descriptor-isatty-is-bogus
> 
> Will take a look and see if Ruby can be fixed, also investigating for
> a proper workaround for RubyGems in the meantime.

I can look into this tomorrow morning if you want, I'm responsible for those 
patches.

-Erik
_______________________________________________
Rubygems-developers mailing list
http://rubyforge.org/projects/rubygems
Rubygems-developers@rubyforge.org
http://rubyforge.org/mailman/listinfo/rubygems-developers

Reply via email to