Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2019-01-29 18:49:59 +0300
committerYorick Peterse <yorickpeterse@gmail.com>2019-01-31 18:52:51 +0300
commitfc5ebc3cb8ba366a199219a71f9fb7da30ef0001 (patch)
treef28568dcf2c474d95b44e7aea7285ec1cc56e91c /Gemfile
parentc0dbf23cb5be5e71168a21fb087b01ba074cb6c3 (diff)
Fix uninitialized constant with GitLab Pages deploy
pages:deploy step was failing with the following error: ``` unitialized constant SafeZip::Extract::Zip ``` Since license_finder already pulls in rubyzip, we can make it a required gem. We also use the scope operator to make the reference to Zip::File explicit.
Diffstat (limited to 'Gemfile')
-rw-r--r--Gemfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Gemfile b/Gemfile
index 40950fbfb43..aa9ef8faee1 100644
--- a/Gemfile
+++ b/Gemfile
@@ -57,7 +57,7 @@ gem 'u2f', '~> 0.2.1'
# GitLab Pages
gem 'validates_hostname', '~> 1.0.6'
-gem 'rubyzip', '~> 1.2.2', require: false
+gem 'rubyzip', '~> 1.2.2'
# Browser detection
gem 'browser', '~> 2.5'