Archive for October, 2008

Ruby On Rails – Raisl 2.2.2 with mysql

Posted in Ruby On Rails on October 7, 2008 by Asanga Bandara Wijekoon

I have faced lot of difficulties in my ROR programming experiences and I think the way I answer those problem may useful for others also. So today onwards I will publish some useful posts for ROR developers.

Raisl 2.2.2 with mysql

Currently I am using windows xp machine with ROR 2.2.2. New Rails version doesn’t come with mysql gem. So we have to manually install it. If u are working in a secure network most of the time u may have to give proxy address for installing plugin or gems. We can give it as

set http_proxy=http://<your proxy address>:<port>

command. After u gave it then u can install mysql gem by just firing the command

gem install mysql

When u installing this gem u may face some problem with documentation. But make sure for proper usage at least u should install the gem. Then u can restart u’r server.

Ops, Now it says there is a missing libmysql.dll file. So download it and then copy it to windows/system folder.

Ok then u can again restart u’r server and now all works fine.

Go ahead and feel rails coolest features.