[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Help: activeLDAP installation

Bil Kleb

3/15/2005 11:02:00 AM

I'm stumped. How do I install activeLDAP?
(on a Fedora Core 3 box)

I installed ruby-ldap-0.9.0 from
http://sourceforge.net/projects/...
and then,

sudo gem install ruby-activeldap
[..]
Successfully installed ruby-activeldap-0.5.5

But,

irb> require 'ldap'
=> true

irb> require 'rubygems'
=> true

irb> require 'activeldap'
=> false

What have I done wrong?

Am I using the wrong LDAP base? (There appears
to be two, although Austin's RubyForge project
hasn't released any files?)

Thanks,
--
Bil Kleb
http://fun3d.lar...



3 Answers

Dick Davies

3/15/2005 12:38:00 PM

0

* Bil Kleb <Bil.Kleb@NASA.gov> [0302 11:02]:
> I'm stumped. How do I install activeLDAP?
> (on a Fedora Core 3 box)
>
> I installed ruby-ldap-0.9.0 from
> http://sourceforge.net/projects/...
> and then,
>
> sudo gem install ruby-activeldap
> [..]
> Successfully installed ruby-activeldap-0.5.5
>
> But,
>
> irb> require 'ldap'
> => true
>
> irb> require 'rubygems'
> => true
>
> irb> require 'activeldap'
> => false
>
> What have I done wrong?

It's a gem, so try:

require 'rubygems'
require_gem 'activeldap'


--
'When the door hits you in the ass on the way out, clean off the smudge
your ass leaves, please'
-- Alien loves Predator
Rasputin :: Jack of All Trades - Master of Nuns


Dick Davies

3/15/2005 12:41:00 PM

0

* Dick Davies <rasputnik@hellooperator.net> [0338 12:38]:
> It's a gem, so try:
>
> require 'rubygems'
> require_gem 'activeldap'

sorry, that should be 'ruby-activeldap'

--
'Blackmail's such an ugly word. I prefer extortion. The x makes it sound cool.'
-- Bender
Rasputin :: Jack of All Trades - Master of Nuns


Bil Kleb

3/15/2005 4:40:00 PM

0

Dick Davies wrote:
> * Bil Kleb <Bil.Kleb@NASA.gov> [0302 11:02]:
>
>>What have I done wrong?
>
> It's a gem, so try:
>
> require 'rubygems'
> require_gem 'ruby-activeldap'

Doh! I guess my lack of sleep is taking a heavier
toll than I realized... :)

Thanks,
--
Bil Kleb
http://fun3d.lar...