diff --git a/Gemfile.1.8.7 b/Gemfile.1.8.7
index 216787ceb..9210c4b2a 100644
--- a/Gemfile.1.8.7
+++ b/Gemfile.1.8.7
@@ -1,6 +1,6 @@
 source "https://rubygems.org"
 
-gem 'nokogiri', '~>1.5.0'
+gem 'nokogiri', '~>1.5.11'
 gem 'mime-types', '~>1.16'
 
 group :development, :test do
diff --git a/fog.gemspec b/fog.gemspec
index 493a18db6..630b51e96 100644
--- a/fog.gemspec
+++ b/fog.gemspec
@@ -48,7 +48,7 @@ Gem::Specification.new do |s|
   s.add_dependency('mime-types')
   s.add_dependency('net-scp', '~>1.1')
   s.add_dependency('net-ssh', '>=2.1.3')
-  s.add_dependency('nokogiri', '~>1.5')
+  s.add_dependency('nokogiri', '>=1.5.11')
 
   ## List your development dependencies here. Development dependencies are
   ## those that are only needed during development