Permalink
Browse files

Pin to systemu ~> 2.2.0 for Windows only; use latest for anyone else.

  • Loading branch information...
purp committed Feb 29, 2012
1 parent 738ec15 commit b84e88dcf7f51f33252dedf688d022d62087e894
Showing with 6 additions and 1 deletion.
  1. +6 −1 ohai.gemspec
View
@@ -12,8 +12,13 @@ spec = Gem::Specification.new do |s|
s.email = "adam@opscode.com"
s.homepage = "http://wiki.opscode.com/display/chef/Ohai"
+ if s.platform.to_s == 'x86-mswin32'
+ s.add_dependency "systemu", "~> 2.2.0"
+ else
+ s.add_dependency "systemu"
+ end
+
s.add_dependency "yajl-ruby"
- s.add_dependency "systemu", "~> 2.4.2"
s.add_dependency "mixlib-cli"
s.add_dependency "mixlib-config"
s.add_dependency "mixlib-log"

0 comments on commit b84e88d

Please sign in to comment.