ruby-ldap in Netbeans

C

CraftyTech

Hello All,

I'm a newbie at Ruby and I have the following issue. I need to
start writing Ruby code to manipulate Active Directory entries. When
I do "import 'ldap' " it doesn't work since I don't have the ldap gem
installed. (it works fine in my linux pc at home). So the questions
is this:

In windows[XP] using Netbeans[JRuby], how do I add a gem for LDAP, or
LDAP functionality in any form, so that I can move on with my coding/
testing?

Thanks in advance,

Henry
 
C

Charles Oliver Nutter

Go to the Tools menu, under "Ruby Gems". I believe you can install it
there. Is that what you're looking for?

Also, pulling in gems is usually done like this:

require 'rubygems'
require 'ldap'

- Charlie
 

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,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top