We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a6e7af commit 448a2a9Copy full SHA for 448a2a9
2 files changed
Gemfile.lock
@@ -381,7 +381,7 @@ GEM
381
ruby-saml (1.18.0)
382
nokogiri (>= 1.13.10)
383
rexml
384
- rubyzip (2.4.1)
+ rubyzip (3.2.2)
385
sass-rails (6.0.0)
386
sassc-rails (~> 2.1, >= 2.1.1)
387
sassc (2.4.0)
app/models/marc_batch.rb
@@ -27,7 +27,7 @@ def create_marc_file(marc_file)
27
end
28
29
def zip_marc_file(zip_file, marc_file)
30
- Zip::File.open(zip_file.path, Zip::File::CREATE) do |zip|
+ Zip::File.open(zip_file.path, create: true) do |zip|
31
zip.add(@marc_filename, marc_file.path)
32
33
marc_file.close
0 commit comments