harvard-library/aspace-import-excel

rubyzip gem version declaration causes problems with AS 2.2.2

trevorthornton opened this issue · 0 comments

Bundler fails when starting AS 2.2.2 because AS core declares this in backend/Gemfile:
gem "rubyzip", "~> 1.2.1" # because of rubyzip/rubyzip#315

And the plugin's Gemfile says:
gem 'rubyzip', "1.0.0", :require => false

This is the error:

[!] There was an error parsing `Gemfile`: You cannot specify the same gem twice with different version requirements.
You specified: rubyzip (~> 1.2.1) and rubyzip (= 1.0.0). Bundler cannot continue.

 #  from /opt/archivesspace-v2.2.2/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/Gemfile:51
 #  -------------------------------------------
 #  require 'asutils'
 >  ASUtils.load_plugin_gems(self)
 #  -------------------------------------------