Skip to content

Commit

Permalink
hyrax 5 is out but does not support ruby 2.7. use conditional logic t…
Browse files Browse the repository at this point in the history
…o continue to support old hyrax for now
  • Loading branch information
orangewolf committed Jan 15, 2025
1 parent a716035 commit e21c6e6
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 e21c6e6

Please sign in to comment.