From 957a70f6cbc820cd637954d14a8a4b92b8328149 Mon Sep 17 00:00:00 2001 From: Yorick Peterse Date: Wed, 30 Jan 2019 14:16:32 +0000 Subject: [PATCH] Fix requiring the rubyzip Gem In commit 6fa5fd8515e0f2d5a6341134560021f353d84362 the `require: false` was removed to ensure the Gem was loaded at run time. Unfortunately, the `require` necessary for the rubyzip Gem is "zip" and not "rubyzip". As a result, Bundler would not require the Gem. This meant that we would still run into constant errors when referring to `Zip::File`. --- Gemfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index 2e8b3c211d7..0b225583c4b 100644 --- a/Gemfile +++ b/Gemfile @@ -66,7 +66,7 @@ gem 'u2f', '~> 0.2.1' # GitLab Pages gem 'validates_hostname', '~> 1.0.6' -gem 'rubyzip', '~> 1.2.2' +gem 'rubyzip', '~> 1.2.2', require: 'zip' # Browser detection gem 'browser', '~> 2.5' -- GitLab