Skip to content

Commit c343732

Browse files
author
Nicolas Rodriguez
committed
Fix error : Specified 'mysql2' for database adapter, but the gem is not loaded
1 parent 8b27499 commit c343732

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Appraisals

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@ RAILS_VERSIONS = %w(
88
RAILS_VERSIONS.each do |version|
99
appraise "rails_#{version}" do
1010
gem 'rails', version
11+
gem 'mysql2', '~> 0.3.18' if version == '4.1.15'
1112
end
1213
end

gemfiles/rails_4.1.15.gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
source "https://rubygems.org"
44

55
gem "rails", "4.1.15"
6+
gem "mysql2", "~> 0.3.18"
67

78
group :test do
89
gem "codeclimate-test-reporter", "~> 1.0.0"

0 commit comments

Comments
 (0)