Update sqlite3 to a version that works on M1 (#1484)
* Update sqlite3 to a version that works on M1 * Always use SQLite ~> 1.4 Rails 5.2 changed at some point to not specify a version. < 1.4 of sqlite fails to build on Apple M1s.
This commit is contained in:
parent
0a2bb55279
commit
d1e6278a21
|
@ -42,7 +42,7 @@ appraise 'rails_5_2' do
|
|||
|
||||
# Database adapters
|
||||
gem 'pg', '~> 0.18'
|
||||
gem 'sqlite3', '~> 1.3.6'
|
||||
gem 'sqlite3', '~> 1.4'
|
||||
end
|
||||
|
||||
appraise 'rails_6_0' do
|
||||
|
|
|
@ -35,4 +35,4 @@ gem "chromedriver-helper"
|
|||
gem "listen", "~> 3.0.5"
|
||||
gem "spring-watcher-listen", "~> 2.0.0"
|
||||
gem "pg", "~> 0.18"
|
||||
gem "sqlite3", "~> 1.3.6"
|
||||
gem "sqlite3", "~> 1.4"
|
||||
|
|
|
@ -221,7 +221,7 @@ GEM
|
|||
actionpack (>= 4.0)
|
||||
activesupport (>= 4.0)
|
||||
sprockets (>= 3.0.0)
|
||||
sqlite3 (1.3.13)
|
||||
sqlite3 (1.4.2)
|
||||
thor (1.1.0)
|
||||
thread_safe (0.3.6)
|
||||
tilt (2.0.10)
|
||||
|
@ -274,7 +274,7 @@ DEPENDENCIES
|
|||
spring
|
||||
spring-commands-rspec
|
||||
spring-watcher-listen (~> 2.0.0)
|
||||
sqlite3 (~> 1.3.6)
|
||||
sqlite3 (~> 1.4)
|
||||
turbolinks (~> 5)
|
||||
warnings_logger
|
||||
yard
|
||||
|
|
|
@ -23,11 +23,7 @@ module AcceptanceTests
|
|||
add_gem 'activerecord', active_record_version
|
||||
add_gem 'rake'
|
||||
|
||||
if rails_version =~ '~> 6.0'
|
||||
add_gem 'sqlite3', '~>1.4'
|
||||
else
|
||||
add_gem 'sqlite3', '~>1.3.6'
|
||||
end
|
||||
add_gem 'sqlite3', '~>1.4'
|
||||
end
|
||||
|
||||
def create_generic_bundler_project
|
||||
|
|
Loading…
Reference in New Issue