mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
revert r65401
Because it does break Linux CI like: https://gist.github.com/ko1/2c561f9185492f339cf7a763ea219e79 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b343a583af
commit
091c04df53
1 changed files with 9 additions and 2 deletions
|
@ -1,7 +1,14 @@
|
|||
begin
|
||||
require 'win32ole'
|
||||
rescue LoadError
|
||||
end
|
||||
|
||||
module WIN32OLESpecs
|
||||
begin
|
||||
MSXML_AVAILABLE = !!WIN32OLE_TYPELIB.typelibs.find { |t| t.name.start_with?('Microsoft XML') }
|
||||
rescue
|
||||
MSXML_AVAILABLE = false
|
||||
end
|
||||
|
||||
def self.new_ole(name)
|
||||
tries = 0
|
||||
|
|
Loading…
Reference in a new issue