Skip to content

Commit

Permalink
Adding an UTF-8 compliant MySQL driver when using Ruby 1.9.2.
Browse files Browse the repository at this point in the history
Sam MySQL Ruby is an UTF-8 compliant port of the classic Mysql gem.
  • Loading branch information
Frédéric de Villamil committed Mar 16, 2011
1 parent cb2fb1d commit 2ad8160
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@ else
when 'postgresql'
gem 'pg'
when 'mysql'
gem 'mysql'
if RUBY_VERSION.include?('1.9')
gem 'sam-mysql-ruby'
else
gem 'mysql'
end
else
raise "Don't know what gem to use for adapter #{adapter}"
end
Expand Down

0 comments on commit 2ad8160

Please sign in to comment.