-
Notifications
You must be signed in to change notification settings - Fork 464
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
4 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,12 @@ | ||
# on a mac using: | ||
# bundle config --global build.mysql2 "--with-mysql-dir=$(brew --prefix mysql)" | ||
|
||
%w[5.2.8 6.0.6 6.1.7 7.0.8 7.1.3 7.2.1].each do |ar_version| | ||
%w[7.0.8 7.1.3 7.2.1].each do |ar_version| | ||
appraise "gemfile-#{ar_version.split('.').first(2).join}" do | ||
gem 'activerecord', "~> #{ar_version}" | ||
# active record 5.2 uses ruby 2.6 | ||
# active record 6.x uses ruby 2.7 (sometimes 3.0) | ||
# so we are targeting the ruby version indirectly through active record | ||
if ar_version < "7.0" | ||
gem "sqlite3", "~> 1.6.9" | ||
else | ||
# sqlite3 v 2.0 is causing trouble with rails | ||
gem "sqlite3", "< 2.0" | ||
end | ||
|
||
# sqlite3 v 2.0 is causing trouble with rails | ||
gem "sqlite3", "< 2.0" | ||
end | ||
end |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.