install a ruby library with it's .gem file

L

Lyes Amazouz

[Note: parts of this message were removed to make it a legal post.]

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
 
F

Florian Gilcher

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
 
P

Peter Szinek

[Note: parts of this message were removed to make it a legal post.]


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
___
http://www.rubyrailways.com
http://scrubyt.org
 
L

Lyes Amazouz

[Note: parts of this message were removed to make it a legal post.]

Ok! thank you , I will try it
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Scipy install Problems 1
Cannot install a gem on Windows x64 4
Error while installing GEM WMQ 6
Install Hpricot gem failure 2
How to install a gem locally ? 4
A problem with Gem 3
gem install 2
win32-service gem 4

Members online

Forum statistics

Threads
474,186
Messages
2,570,997
Members
47,586
Latest member
Gilda57E93

Latest Threads

Top