Skip to content

Commit

Permalink
[CI] Rails 6 requires sqlite3 ~> 1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
amatsuda committed Aug 18, 2024
1 parent d9c4983 commit 1778b85
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 @@ -9,7 +9,11 @@ if ENV['RAILS_VERSION'] == 'edge'
gem 'rails', git: 'https://github.com/rails/rails.git'
elsif ENV['RAILS_VERSION']
gem 'rails', "~> #{ENV['RAILS_VERSION']}.0"
gem 'sqlite3', '< 1.4' if ENV['RAILS_VERSION'] <= '5.0'
if ENV['RAILS_VERSION'] <= '5.0'
gem 'sqlite3', '< 1.4'
elsif ENV['RAILS_VERSION'] <= '6.1'
gem 'sqlite3', '~> 1.4'
end
else
gem 'rails'
end
Expand Down

0 comments on commit 1778b85

Please sign in to comment.