mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Set sqlite3 gem version explicitly in generated Gemfile
This commit is contained in:
parent
287920ca7d
commit
d9601fd622
2 changed files with 2 additions and 1 deletions
|
@ -15,6 +15,7 @@ module Rails
|
|||
case database
|
||||
when "mysql" then ["mysql2", [">= 0.4.4"]]
|
||||
when "postgresql" then ["pg", [">= 0.18", "< 2.0"]]
|
||||
when "sqlite3" then ["sqlite3", ["~> 1.3", ">= 1.3.6"]]
|
||||
when "oracle" then ["activerecord-oracle_enhanced-adapter", nil]
|
||||
when "frontbase" then ["ruby-frontbase", nil]
|
||||
when "sqlserver" then ["activerecord-sqlserver-adapter", nil]
|
||||
|
|
|
@ -526,7 +526,7 @@ class AppGeneratorTest < Rails::Generators::TestCase
|
|||
if defined?(JRUBY_VERSION)
|
||||
assert_gem "activerecord-jdbcsqlite3-adapter"
|
||||
else
|
||||
assert_gem "sqlite3"
|
||||
assert_gem "sqlite3", "'~> 1.3', '>= 1.3.6'"
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue