Connect Ruby on rails to MySQL

Nik Kumar wrote in post #826714:

Can anyone please give the steps(commands) how to connect ruby on rails
to MySQl in fedora8.

I have installed MySQL and Ruby in my system.

Please specify any further installations to be done

Reply will be appreciated.

Set MySQL from the start

$ rails -d mysql app_name