Forum: Ruby on Rails encoding: utf8 in database.yml causes error

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Daniel M. (Guest)
on 2006-03-05 06:45
(Received via mailing list)

Using ruby 1.8, rails 1.0, mysql 4.1.11

in database.yml:

  adapter: mysql
  encoding: utf8
  database: myproject_development
  username: user
  password: password
  socket: /var/run/mysqld/mysqld.sock

but when I start the error I get:

Can't initialize character set utf8 (path:

Can anyone tell me what file it's looking for, and how I tell it where
to find it? (The path it's trying doesn't even exist.)



Daniel McBrearty
email : danielmcbrearty at : the multi - language vocab trainer
BTW : 0873928131
Yaroslav Markin (Guest)
on 2006-03-20 23:18
(Received via mailing list)
Guess you need to install libmysqlclient for your distribution. You
didn't say what distro do you use.
This topic is locked and can not be replied to.