Install a ruby library with it's .gem file

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

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

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

That's the way to go about it!

but when I call it from the irb with require, it display the not found error
message

require 'rubygems'

before requiring the other gem doesn't help?

Cheers,
Peter

···

On 2008.11.19., at 11:50, Lyes Amazouz wrote:
___
http://www.rubyrailways.com
http://scrubyt.org

Ok! thank you , I will try it

···

--

> Lyes Amazouz
> USTHB, Algiers