From: Hassan Schroeder Date: 2009-12-23T02:16:38+09:00 Subject: Re: Help with gem ruby mysql error On Tue, Dec 22, 2009 at 8:37 AM, Andrew Ting wrote: > > gem list will show > mysql (2.8.1) installed > > Oh yes, modify above to correct path and installation is successful. > > But mysql.so not found error is still valid. > > (I'm not good at irb.) > > I wondered what is left out? > > Downloaded mysql5.1 and installed. ? why would you do that before getting your gem situation straightened out? I would stick with the one you used to install the gem for now. You can check with, e.g. prompt% irb >> require 'rubygems' => false >> require 'mysql' => true >> db = Mysql.connect("localhost", "user","password", "database") where the last three parameters match your installation. You should get something back like => # -- Hassan Schroeder ------------------------ hassan.schroeder@gmail.com twitter: @hassan