        activesupport (>= 4.2.0.beta, < 5.0)
        nokogiri (~> 1.6.0)
        rails-deprecated_sanitizer (>= 1.0.1)
-@@ -249,20 +248,20 @@ GEM
+@@ -248,20 +247,20 @@ GEM
        activesupport (>= 3.2)
        choice (~> 0.2.0)
        ruby-graphviz (~> 1.2)

 gem "slim"
@@ -52,7 +52,7 @@ def packaging?
 end
 
 # If the deployment is done through Puma, include it in the bundle.
-gem "puma", "~> 3.7.0" if ENV["PORTUS_PUMA_DEPLOYMENT"] == "yes" || !packaging?
+gem "puma", "~> 2.16.0" if ENV["PORTUS_PUMA_DEPLOYMENT"] == "yes" || !packaging?
 
 # In order to create the Gemfile.lock required for packaging
 # meaning that it should contain only the production packages
@@ -68,6 +68,7 @@ unless packaging?

diff --git a/Gemfile b/Gemfile
index 203814291c85..29aedaba990f 100644
--- a/Gemfile
+++ b/Gemfile
@@ -1,6 +1,6 @@
 source "https://rubygems.org"

-gem "rails", "~> 4.2.8"
+gem "rails", "~> 4.2.2"
 gem "sass-rails", ">= 3.2"
