From 46247fb35a262b71d193b76ec594c644d6efeabe Mon Sep 17 00:00:00 2001 From: usa Date: Thu, 28 Jul 2011 05:26:20 +0000 Subject: * lib/rubygems/user_interaction.rb (Gem::StreamUI#tty?): typo. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/rubygems/user_interaction.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/rubygems') diff --git a/lib/rubygems/user_interaction.rb b/lib/rubygems/user_interaction.rb index df51326c01..8024d37287 100644 --- a/lib/rubygems/user_interaction.rb +++ b/lib/rubygems/user_interaction.rb @@ -136,7 +136,7 @@ class Gem::StreamUI end def tty? - if RUBY_VERSION > '1.9.3' and RUBY_PLATFORM =~ /mingw|mswin/ then + if RUBY_VERSION < '1.9.3' and RUBY_PLATFORM =~ /mingw|mswin/ then @usetty else @usetty && @ins.tty? -- cgit v1.2.3