Just run gem as usual, but from the path where the library lies.

"gem install yourlib"

Then it will skip the online lookup.

Regards,
Florian Gilcher

On Nov 19, 2008, at 11:50 AM, Lyes Amazouz wrote:

> Hello everybody!
>
> May some one tell me how can I install a ruby library using it's  
> ".gem" file
>
>
> I've tried to proceed like this:
>
> gem install --install-dir PATH library_name
>
> the output was like this
> Successfully installed library_name.version
> 1 gem installed
>
> but when I call it from the irb with require, it display the not  
> found error
> message
> thank you
> -- 
> ===========
> |   Lyes Amazouz
> |   USTHB, Algiers
> ===========