Forum: Ruby on Rails RuntimeError (Mysql not loaded)

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
prem (Guest)
on 2008-12-01 10:36
(Received via mailing list)
Any idea why mysql gem would not load properly ?

log/production.log:

RuntimeError (Mysql not loaded):
    /usr/lib/ruby/gems/1.8/gems/activerecord-2.1.2/lib/active_record/
connection_adapters/mysql_adapter.rb:7:in `define_all_hashes_method!'


[XXXX]$ irb
irb(main):001:0> require 'rubygems'
=> true
irb(main):002:0> require 'mysql'
=> true

Thanks,
Prem.
This topic is locked and can not be replied to.