Skip to content

Commit

Permalink
hyrax 5 is out but does not support ruby 2.7 (#1005)
Browse files Browse the repository at this point in the history
hyrax 5 is out but does not support ruby 2.7. use conditional logic to continue to support old hyrax for now
  • Loading branch information
orangewolf authored Jan 15, 2025
1 parent a716035 commit 105e9ce
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,14 @@ gem 'blacklight'
gem 'bootstrap-sass', '~> 3.4.1'
gem 'coderay'
gem 'factory_bot_rails'
gem 'hyrax', '>= 2.3'

# Conditional logic based on Ruby version
if RUBY_VERSION >= '3.0.0'
gem 'hyrax', '>= 2.3'
else
gem 'hyrax', '~> 4.0'
end

gem 'oai'
gem 'rsolr', '>= 1.0'
gem 'rspec-rails'
Expand Down

0 comments on commit 105e9ce

Please sign in to comment.