Missing the mysql2 gem here

This commit is contained in:
Santiago Pastorino
2010-09-22 14:33:44 -03:00
parent 48a108d55b
commit 090c9ae3a3

View File

@@ -19,7 +19,7 @@ module ActiveRecord
begin
require 'mysql'
rescue LoadError
raise "!!! Missing the mysql gem. Add it to your Gemfile: gem 'mysql2'"
raise "!!! Missing the mysql2 gem. Add it to your Gemfile: gem 'mysql2'"
end
unless defined?(Mysql::Result) && Mysql::Result.method_defined?(:each_hash)