Please always require ruby-wmi. But  require this file only on Windows.