diff options
author | danielsdeleo <dan@opscode.com> | 2013-10-28 15:00:18 -0700 |
---|---|---|
committer | danielsdeleo <dan@opscode.com> | 2013-10-28 15:00:18 -0700 |
commit | ea78d04813138e6f82c4cac5e237064d800a479a (patch) | |
tree | a885125e4c4ae816c7375b15e0f1675e4fd6cad5 /chef.gemspec | |
parent | 8cc0c8060c103cfe8d7875c8611dde47865d4214 (diff) | |
download | chef-ea78d04813138e6f82c4cac5e237064d800a479a.tar.gz |
Pin mime-types to a ruby 1.8 compatible version
Diffstat (limited to 'chef.gemspec')
-rw-r--r-- | chef.gemspec | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chef.gemspec b/chef.gemspec index d655f99651..fb30266a01 100644 --- a/chef.gemspec +++ b/chef.gemspec @@ -20,6 +20,11 @@ Gem::Specification.new do |s| s.add_dependency "ohai", "~> 6.0" s.add_dependency "rest-client", ">= 1.0.4", "< 1.7.0" + # rest-client has an unbounded dependency on mime-types. + # mime-types 2.0 removes support for ruby 1.8.7 (gemspec requires ruby + # 1.9.2+), so we have to add an additional pin. 1.16 is chosen just becuase + # it's the version I had when I tested. + s.add_dependency "mime-types", "~> 1.16" # The JSON gem reliably releases breaking changes as a patch release s.add_dependency "json", ">= 1.4.4", "<= 1.7.7" |