From 410d4c4ce03492af599d07cd8b9b54ba92cc8db0 Mon Sep 17 00:00:00 2001 From: Sruthi Chandran Date: Tue, 25 Dec 2018 13:26:31 +0530 Subject: [PATCH] Add patch to relax rails --- debian/patches/0470-relax-rails.patch | 11 +++++++++++ debian/patches/series | 1 + 2 files changed, 12 insertions(+) create mode 100644 debian/patches/0470-relax-rails.patch diff --git a/debian/patches/0470-relax-rails.patch b/debian/patches/0470-relax-rails.patch new file mode 100644 index 0000000000..422ed6130f --- /dev/null +++ b/debian/patches/0470-relax-rails.patch @@ -0,0 +1,11 @@ +--- a/Gemfile ++++ b/Gemfile +@@ -5,7 +5,7 @@ + + gem_versions = {} + gem_versions['activerecord_sane_schema_dumper'] = rails5? ? '1.0' : '0.2' +-gem_versions['rails'] = rails5? ? '5.0.7' : '4.2.11' ++gem_versions['rails'] = rails5? ? '~> 5.0' : '4.2.11' + gem_versions['rails-i18n'] = rails5? ? '~> 5.1' : '~> 4.0.9' + + # The 2.0.6 version of rack requires monkeypatch to be present in diff --git a/debian/patches/series b/debian/patches/series index 1056f89158..5b083d2bf2 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -12,6 +12,7 @@ 0440-remove-puma.patch 0450-remove-bullet.patch 0460-relax-rspec-rails.patch +0470-relax-rails.patch 0500-set-webpack-root.patch 0510-remove-dev-dependencies.patch 0520-add-system-lib-path-for-webpack.patch