From dd23924dd91c875a6ce0dbe3b638c8413443aacb Mon Sep 17 00:00:00 2001 From: Rob Kaufman Date: Tue, 29 Oct 2024 15:08:09 -0700 Subject: [PATCH] bump versions to make bundling on arm processors work again --- Gemfile | 2 +- README.md | 8 ++++++++ bulkrax.gemspec | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/Gemfile b/Gemfile index ebfe5fb1..2f857495 100644 --- a/Gemfile +++ b/Gemfile @@ -16,7 +16,7 @@ gem 'blacklight' gem 'bootstrap-sass', '~> 3.4.1' gem 'coderay' gem 'factory_bot_rails' -gem 'hyrax', '>= 2.3', '< 4.999' +gem 'hyrax', '>= 2.3' gem 'oai' gem 'rsolr', '>= 1.0' gem 'rspec-rails' diff --git a/README.md b/README.md index bb9ec1ef..0f698d54 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,14 @@ $ rails db:migrate If using Sidekiq, set up queues for `import` and `export`. +### Bundle errors on ARM + +If posix-spawn is failing to bundle on an ARM based processor, try the following + +`bundle config build.posix-spawn --with-cflags="-Wno-incompatible-function-pointer-types"` + +Then rebundle. See https://github.com/rtomayko/posix-spawn/issues/92 + ### Manual Installation Add this line to your application's Gemfile: diff --git a/bulkrax.gemspec b/bulkrax.gemspec index 4b8b92bc..a894131a 100644 --- a/bulkrax.gemspec +++ b/bulkrax.gemspec @@ -26,7 +26,7 @@ Gem::Specification.new do |s| s.add_dependency 'iso8601', '~> 0.9.0' s.add_dependency 'kaminari' s.add_dependency 'language_list', '~> 1.2', '>= 1.2.1' - s.add_dependency 'libxml-ruby', '~> 3.2.4' + s.add_dependency 'libxml-ruby', '~> 5.0' s.add_dependency 'loofah', '>= 2.2.3' # security issue, remove on rails upgrade s.add_dependency 'oai', '>= 0.4', '< 2.x' s.add_dependency 'rack', '>= 2.0.6' # security issue, remove on rails upgrade