Skip to content

Commit

Permalink
Fix builds with ActiveRecord 7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
shioyama committed Feb 1, 2025
1 parent 37d2ad5 commit c02dd5e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ group :development, :test do
when 'active_record'
orm_version ||= '7.0'
case orm_version
when '6.1', '7.0', '7.1', '7.2', '8.0'
when '7.0'
gem 'activerecord', '~> 7.0'
# see https://stackoverflow.com/questions/79360526/uninitialized-constant-activesupportloggerthreadsafelevellogger-nameerror
gem 'concurrent-ruby', '1.3.4'
when '7.1', '7.2', '8.0'
gem 'activerecord', "~> #{orm_version}.0"
when 'edge'
git 'https://github.com/rails/rails.git', branch: 'main' do
Expand Down

0 comments on commit c02dd5e

Please sign in to comment.