harvard-library / aspace-import-excel

Import resources, archival objects, etc. into ArchivesSpace using Excel spreadsheet files
Apache License 2.0
43 stars 10 forks source link

rubyzip gem version declaration causes problems with AS 2.2.2 #17

Closed trevorthornton closed 6 years ago

trevorthornton commented 6 years ago

Bundler fails when starting AS 2.2.2 because AS core declares this in backend/Gemfile: gem "rubyzip", "~> 1.2.1" # because of https://github.com/rubyzip/rubyzip/issues/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)
 #  -------------------------------------------