Forum: Ruby Newbie, looking for a library

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
72eab3da25ac9aa625c314ba935f58f1?d=identicon&s=25 EdUarDo (Guest)
on 2006-02-01 23:09
(Received via mailing list)
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?
31ab75f7ddda241830659630746cdd3a?d=identicon&s=25 Austin Ziegler (Guest)
on 2006-02-02 01:21
(Received via mailing list)
On 01/02/06, EdUarDo <eduardo.yanezNOSPAM@nospamgmail.com> wrote:
> Hello, I'm trying to test the ruby-activeldap libraries. I've installed the package
> with gem tool, and my LOAD_PATH is:

require 'rubygems'
require 'activeldap'

-austin
This topic is locked and can not be replied to.