diff options
Diffstat (limited to 'spec/support/ruby_installer.rb')
-rw-r--r-- | spec/support/ruby_installer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/ruby_installer.rb b/spec/support/ruby_installer.rb index ae282d3b2d..d03525268f 100644 --- a/spec/support/ruby_installer.rb +++ b/spec/support/ruby_installer.rb @@ -48,4 +48,4 @@ rescue LoadError $stderr.puts "Failed to load ruby_installer. Assuming Ruby Installer is not being used." end -add_libarchive_dll_directory if RUBY_PLATFORM =~ /mswin|mingw32|windows/ +add_libarchive_dll_directory if RUBY_PLATFORM.match?(/mswin|mingw32|windows/) |