Skip to content

Commit e3e3258

Browse files
committed
pin mysql2 version to '~> 0.4.10'
- the 0.5.0 version published on March 20, 2018 doesn't work
1 parent 0c8ddb2 commit e3e3258

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

gemfiles/rails41.gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ else
1818
gem 'sinatra'
1919
gem 'pg', '< 0.19'
2020
gem 'mysql'
21-
gem 'mysql2'
21+
gem 'mysql2', '~> 0.4.10' # 0.5.0 published March 20, not working (yet)
2222
end
2323

2424
gem "rails", "~> 4.1.15"

gemfiles/rails42.gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ else
2626
if RUBY_VERSION < '2.4'
2727
gem 'mysql'
2828
end
29-
gem 'mysql2'
29+
gem 'mysql2', '~> 0.4.10' # 0.5.0 published March 20, not working (yet)
3030
end
3131

3232
gem "rails", "~> 4.2.5"

gemfiles/rails50.gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ if defined?(JRUBY_VERSION)
3737
gem 'jdbc-postgresql'
3838
else
3939
gem 'pg', '< 1.0.0' # rails is not ready for pg 1.0
40-
gem 'mysql2'
40+
gem 'mysql2', '~> 0.4.10' # 0.5.0 published March 20, not working (yet)
4141
end
4242

4343
gemspec :path => File.expand_path(File.dirname(__FILE__) + '/../')

gemfiles/rails51.gemfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ if defined?(JRUBY_VERSION)
3636
gem 'activerecord-jdbc-adapter'
3737
gem 'jdbc-postgresql'
3838
else
39-
gem 'pg', '< 1.0.0' # rails is not ready for pg 1.0
40-
gem 'mysql2'
39+
gem 'pg' #, '< 1.0.0' # rails is not ready for pg 1.0
40+
gem 'mysql2', '~> 0.4.10' # 0.5.0 published March 20, not working (yet)
4141
end
4242

4343
gemspec :path => File.expand_path(File.dirname(__FILE__) + '/../')

0 commit comments

Comments
 (0)