ruby and MySql

Does the database exist that you are connecting to? #> mysqladmin create temp_development

also ensure you have the mysql gem installed (current versions of rails require the native gem)

#> sudo gem install mysql

lastly make sure your project can communicate with the database rake db:migrate

If all is well the only thing you should have to do in the future is ensure the database exists with the mysqladmin command.