summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorAdam Edwards <adamed@opscode.com>2014-05-02 16:56:56 -0700
committeradamedx <adamed@opscode.com>2014-05-18 23:16:04 -0700
commit6f8fd202b5d8ef36aad52c85ce45f47bd5c327e7 (patch)
treebc7296e635f7bd8926df8cf2a4e449f3faf32190 /bin
parentc7121a4177f87c85da8ea10b3d605d03adff9eb9 (diff)
downloadohai-6f8fd202b5d8ef36aad52c85ce45f47bd5c327e7.tar.gz
Remove ruby-wmi dependency
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ohai9
1 files changed, 0 insertions, 9 deletions
diff --git a/bin/ohai b/bin/ohai
index d03d0a90..a078b209 100755
--- a/bin/ohai
+++ b/bin/ohai
@@ -39,13 +39,4 @@ rescue LoadError
raise
end
-if RUBY_PLATFORM =~ /mswin|mingw32|windows/
- begin
- require 'ruby-wmi'
- rescue LoadError
- STDERR.puts "ruby-wmi failed to load - is it installed?"
- raise
- end
-end
-
Ohai::Application.new.run