Revision fef42ae4
Added by Dominic Cleal over 8 years ago
bundler.d/mysql2.rb | ||
---|---|---|
group :mysql2 do
|
||
gem 'mysql2', '> 0.3.0'
|
||
gem 'mysql2', '~> 0.3.10'
|
||
end
|
Also available in: Unified diff
bundler.d/mysql2.rb | ||
---|---|---|
group :mysql2 do
|
||
gem 'mysql2', '> 0.3.0'
|
||
gem 'mysql2', '~> 0.3.10'
|
||
end
|
Also available in: Unified diff
fixes #11719 - mysql2 dep must match ActiveRecord's runtime dep
When AR loads the mysql2 adapter, it calls 'gem' with a version spec.
For our bundle to include a compatible version of mysql2 and not the
latest version, the spec needs to match AR's.
(cherry picked from commit 47604a20219bdf0f6c72fde9dabd3f47f0513364)