mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/rubygems/resolver.rb: fix error of null device reference with DOSISH
platform. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
71e8a4e618
commit
8cb26a09b2
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Thu Jul 2 09:51:44 2015 SHIBATA Hiroshi <hsbt@ruby-lang.org>
|
||||||
|
|
||||||
|
* lib/rubygems/resolver.rb: fix error of null device reference with DOSISH
|
||||||
|
platform.
|
||||||
|
|
||||||
Thu Jul 2 06:49:44 2015 SHIBATA Hiroshi <hsbt@ruby-lang.org>
|
Thu Jul 2 06:49:44 2015 SHIBATA Hiroshi <hsbt@ruby-lang.org>
|
||||||
|
|
||||||
* lib/rubygems: Update to RubyGems HEAD(c202db2).
|
* lib/rubygems: Update to RubyGems HEAD(c202db2).
|
||||||
|
|
|
@ -172,7 +172,7 @@ class Gem::Resolver
|
||||||
include Molinillo::UI
|
include Molinillo::UI
|
||||||
|
|
||||||
def output
|
def output
|
||||||
@output ||= debug? ? $stdout : File.open('/dev/null', 'w')
|
@output ||= debug? ? $stdout : File.open(Gem::Util::NULL_DEVICE, 'w')
|
||||||
end
|
end
|
||||||
|
|
||||||
def debug?
|
def debug?
|
||||||
|
|
Loading…
Add table
Reference in a new issue