Newbie, looking for a library

E

EdUarDo

Hello, I'm trying to test the ruby-activeldap libraries. I've installed the package
with gem tool, and my LOAD_PATH is:

ruby -e 'p $LOAD_PATH'

[".", "/home/eyp/Desarrollo/ruby/lib", "/home/eyp/Desarrollo/ruby/lib/sybase", "/usr/lib/ruby",
"/usr/lib/site_ruby/1.8", "/usr/lib/site_ruby/1.8/i386-linux", "/usr/lib/site_ruby", "/usr/lib/ruby/1.8",
"/usr/lib/ruby/1.8/i386-linux", "."]

Of course, there is a /usr/lib/ruby/gems/1.8/gems/ruby-activeldap-0.6.0/lib/activeldap.rb file.

Well, if I do:

irb
irb(main):001:0> require 'activeldap'
LoadError: no such file to load -- activeldap
from (irb):1:in `require'
from (irb):1

same happens with another libraries like log4r, but if I go to the directory where the log4r.rb is and do
require 'log4r' it works fine.


What am I doing wrong?
 
A

Austin Ziegler

Hello, I'm trying to test the ruby-activeldap libraries. I've installed t= he package
with gem tool, and my LOAD_PATH is:

require 'rubygems'
require 'activeldap'

-austin
 

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

Members online

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,276
Latest member
Sawatmakal

Latest Threads

Top