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

Could not find gem 'rubyXL (= 3.3.29) java' with aspace-import-excel v3.0.4 on AS 2.8.1 #65

Open ccc2lu opened 3 years ago

ccc2lu commented 3 years ago

I saw another person had this issue with AS 2.6.0 and an earlier version of the plugin. I'm seeing it now with AS 2.8.1 and the latest stable release of the plugin. Anyone have a fix I can try? I did run scripts/initialize-plugin.sh aspace-import-excel (though the documentation says I shouldn't have to anymore) but it made no difference.

seanlw commented 3 years ago

I see this same issue with AS 3.0.1

rcarsey1 commented 5 months ago

This is not an official solution, but being that there's been no action on this in 3 years.... (this is with plugin v3.0.4 and AS v3.5.0)

If you see an error like this:

WARNING: ERROR: initialization failed
org.jruby.rack.RackInitializationException:
[!] There was an error parsing `Gemfile`: You cannot specify the same gem twice with different version requirements.
You specified: rubyXL (~> 3.4, >= 3.4.9) and rubyXL (= 3.3.29). Bundler cannot continue.

Then you can maybe modify the aspace-import-excel's Gemfile and change the rubyXL version requirements to read: gem 'rubyXL', '~> 3.4', '>= 3.4.9', :require => false

Which means use version 3.4.9 or higher, but only as high as 3.4.xxx (not 3.5 or higher).