# New user question: libmysql-ruby on Ubuntu Dapper

**URL:** <https://www.ruby-forum.com/t/new-user-question-libmysql-ruby-on-ubuntu-dapper/97789>\
**Category:** Ruby\
**Created:** [July 10, 2006, 4:46pm UTC](https://www.ruby-forum.com/t/new-user-question-libmysql-ruby-on-ubuntu-dapper/97789 "2006-07-10T16:46:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [July 10, 2006, 4:46pm UTC](https://www.ruby-forum.com/t/new-user-question-libmysql-ruby-on-ubuntu-dapper/97789/1 "2006-07-10T16:46:14Z")

</div>

Hi

I am just begining to play around with ruby and I ran into the  
following issue:  
I installed libmysql-ruby in the following way:

sudo apt-get install libmysql-ruby

apt-get reports that 2 packages were installed, mysql-ruby and  
mysql-ruby1.8  
Now I would expect the following to work:

$ irb  
irb(main):001:0\> require ‘mysql’

but I get the following:

LoadError: no such file to load – mysql  
from (irb):1:in `require’  
from (irb):1

It looks to me like some sort of lib path problem, but googling around  
hasnt revealed very much.  
Sorry if this has a really simple solution.

Any feedback will be appreciated. Thank you.
