From 906506a6398f9a21fb340d6dcfd7c6ad6d3fd657 Mon Sep 17 00:00:00 2001 From: Adam Jazairi Date: Wed, 23 Feb 2022 10:34:34 -0500 Subject: [PATCH] Try adding rubyzip to gemfile --- Gemfile | 1 + Gemfile.lock | 1 + app/models/marc_batch.rb | 3 --- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Gemfile b/Gemfile index ede4980e..2060b4a3 100644 --- a/Gemfile +++ b/Gemfile @@ -23,6 +23,7 @@ gem 'omniauth-saml' gem 'paper_trail' gem 'puma' gem 'rails', '~> 6.1.0' +gem 'rubyzip' gem 'sass-rails' gem 'sentry-rails' gem 'sentry-ruby' diff --git a/Gemfile.lock b/Gemfile.lock index 2e186a39..159a2347 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -404,6 +404,7 @@ DEPENDENCIES rails (~> 6.1.0) rubocop rubocop-rails + rubyzip sass-rails scout_apm selenium-webdriver diff --git a/app/models/marc_batch.rb b/app/models/marc_batch.rb index b1234cfa..b3bfdbcd 100644 --- a/app/models/marc_batch.rb +++ b/app/models/marc_batch.rb @@ -1,6 +1,3 @@ -require 'rubygems' -require 'zip' - class MarcBatch def initialize(theses, marc_filename, zip_filename) @theses = theses