Installation, ruby-mysql in OS X

This is for an online dictionary project. I am a linguist, not a
computer scientist. I want to install mysql-ruby on a Mac running OS X.
I have ruby and mysql working. I downloaded and untarred/unzipped
mysql-ruby-2.4.2.tar.gz. Can anyone point me to something that will walk
me through the installation. I know next to nothing about the make, make
install process.

location of ruby and irb: /usr/local/bin/
location of mysql stuff: /usr/local/mysql/
location of mysql: /usr/local/mysql/bin/


Result of first attempt to begin installation:

[localhost:gary/Apps/mysql-ruby-2.4.2] root# ruby extconf.rb
checking for mysql_query() in -lmysqlclient… no
[1] + Terminated find / -name libmysqlclient.a -print

Current contents of extconf.rb file:

require 'mkmf’
inc, lib = dir_config(‘mysql’, ‘/usr/local/mysql’)
find_library(‘mysqlclient’, ‘mysql_query’, lib, “#{lib}/mysql”) or exit 1

If you have error such as ‘undefined symbol’, delete ‘#’ mark follow


have_header(‘mysql.h’) or have_header(‘mysql/mysql.h’) or exit 1

Gary B. Palmer
University of Nevada
Las Vegas, NV