Skip to content

Commit

Permalink
diff version of mysql gem required for AR 3.0.x
Browse files Browse the repository at this point in the history
  • Loading branch information
spilliton committed Jul 14, 2012
1 parent 8816405 commit dc689d8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion randumb.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,11 @@ Gem::Specification.new do |s|
when 'sqlite3'
s.add_development_dependency 'sqlite3', '1.3.5'
when 'mysql'
s.add_development_dependency 'mysql2', '~> 0.3.11'
if ar_env =~ /^3\.0/
s.add_development_dependency 'mysql2', '< 0.3'
else
s.add_development_dependency 'mysql2', '~> 0.3.11'
end
when 'postgres'
s.add_development_dependency 'pg'
end
Expand Down

0 comments on commit dc689d8

Please sign in to comment.