add gem file into application "lib" folder

Hi, I'm using a webhosting server which I don't have permission to
install gem files into usr/local/ruby/1.8/....
so, i think maybe i can install the gem files into the "lib“ folder
under my application folder.
but my codes cannot find the installed classes.

anybody know the problem?