From ce781b26193680e158143bcdf9e8e7e20368be38 Mon Sep 17 00:00:00 2001 From: Pirate Praveen Date: Tue, 12 Jun 2018 18:34:56 +0530 Subject: [PATCH] Relax ruby version check --- debian/patches/relax-ruby-version.pacth | 13 +++++++++++++ debian/patches/series | 1 + 2 files changed, 14 insertions(+) create mode 100644 debian/patches/relax-ruby-version.pacth diff --git a/debian/patches/relax-ruby-version.pacth b/debian/patches/relax-ruby-version.pacth new file mode 100644 index 0000000000..002516311b --- /dev/null +++ b/debian/patches/relax-ruby-version.pacth @@ -0,0 +1,13 @@ +Debian's ruby has the latest security patches applied + +--- a/lib/system_check/app/ruby_version_check.rb ++++ b/lib/system_check/app/ruby_version_check.rb +@@ -5,7 +5,7 @@ + set_check_pass -> { "yes (#{self.current_version})" } + + def self.required_version +- @required_version ||= Gitlab::VersionInfo.new(2, 3, 5) ++ @required_version ||= Gitlab::VersionInfo.new(2, 3, 3) + end + + def self.current_version diff --git a/debian/patches/series b/debian/patches/series index a5f1460fa3..68db724326 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -19,3 +19,4 @@ pid-log-paths.patch add-system-lib-path-for-webpack.patch remove-bundle-analyzer.patch fix-mail-room-path.patch +relax-ruby-version.pacth