Skip to content

Commit 15bbb8f

Browse files
committed
Use newer version of mysql2 to fix lynndylanhurley#1222 error: use of undeclared identifier 'MYSQL_SECURE_AUTH'
1 parent 470c84b commit 15bbb8f

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Gemfile

+1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ group :development, :test do
3636
gem 'minitest-rails'
3737
gem 'minitest-reporters', '1.1.18'
3838
gem 'mocha', '>= 1.5'
39+
gem 'mysql2', '~> 0.4.10'
3940
gem 'pry'
4041
gem 'pry-byebug'
4142
gem 'pry-remote'

Gemfile.lock

+3-3
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ PATH
3535
specs:
3636
devise_token_auth (1.0.0.rc1)
3737
devise (> 3.5.2, < 4.6)
38-
rails (< 6)
38+
rails (>= 4.2.0, < 6)
3939

4040
GEM
4141
remote: https://rubygems.org/
@@ -177,7 +177,7 @@ GEM
177177
multi_json (1.12.1)
178178
multi_xml (0.6.0)
179179
multipart-post (2.0.0)
180-
mysql2 (0.4.6)
180+
mysql2 (0.4.10)
181181
nenv (0.3.0)
182182
nio4r (2.3.1)
183183
nokogiri (1.8.1)
@@ -314,7 +314,7 @@ DEPENDENCIES
314314
minitest-rails
315315
minitest-reporters (= 1.1.18)
316316
mocha (>= 1.5)
317-
mysql2
317+
mysql2 (~> 0.4.10)
318318
omniauth-facebook!
319319
omniauth-github!
320320
omniauth-google-oauth2!

0 commit comments

Comments
 (0)