summary refs log tree commit homepage
path: root/rainbows.gemspec
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2013-02-26 03:16:46 +0000
committerEric Wong <normalperson@yhbt.net>2013-02-26 03:16:46 +0000
commit95d6719722f31987c72052b000f67d99989a81c8 (patch)
tree70c1c00b92724be62c30d605b02a58005a6c1cef /rainbows.gemspec
parent83a3b49dd3a1f1885ca56e9889ff22aa7b7c6136 (diff)
This ensures we're compatible with the latest stable
Ruby version.
Diffstat (limited to 'rainbows.gemspec')
-rw-r--r--rainbows.gemspec4
1 files changed, 3 insertions, 1 deletions
diff --git a/rainbows.gemspec b/rainbows.gemspec
index bcbbf5b..6a906cf 100644
--- a/rainbows.gemspec
+++ b/rainbows.gemspec
@@ -28,7 +28,9 @@ Gem::Specification.new do |s|
   s.add_dependency(%q<kgio>, ['~> 2.5'])
 
   # we need Unicorn for the HTTP parser and process management
-  s.add_dependency(%q<unicorn>, ["~> 4.6"]) # 4.6.0+ supports hijacking
+  # 4.6.0+ supports hijacking, 4.6.2 fixes the chunk parser (for Ruby 2.0.0)
+  s.add_dependency(%q<unicorn>, ["~> 4.6", ">= 4.6.2"])
+
   s.add_development_dependency(%q<isolate>, "~> 3.1")
   s.add_development_dependency(%q<wrongdoc>, "~> 1.6")