about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--rainbows.gemspec4
-rw-r--r--t/test_isolate.rb2
2 files changed, 4 insertions, 2 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")
 
diff --git a/t/test_isolate.rb b/t/test_isolate.rb
index 6b7fe5a..d5daa8c 100644
--- a/t/test_isolate.rb
+++ b/t/test_isolate.rb
@@ -20,7 +20,7 @@ Isolate.now!(opts) do
   gem 'rack', '1.5.2'
   gem 'kcar', '0.4.0'
   gem 'raindrops', '0.10.0'
-  gem 'unicorn', '4.6.0'
+  gem 'unicorn', '4.6.2'
 
   if engine == "ruby"
     gem 'sendfile', '1.1.0'