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.
Showing
... | @@ -57,7 +57,7 @@ gem 'u2f', '~> 0.2.1' | ... | @@ -57,7 +57,7 @@ gem 'u2f', '~> 0.2.1' |
# GitLab Pages | # GitLab Pages | ||
gem 'validates_hostname', '~> 1.0.6' | gem 'validates_hostname', '~> 1.0.6' | ||
gem 'rubyzip', '~> 1.2.2', require: false | gem 'rubyzip', '~> 1.2.2' | ||
# Browser detection | # Browser detection | ||
gem 'browser', '~> 2.5' | gem 'browser', '~> 2.5' | ||
... | ... |
Please register or sign in to comment