Subscribe
Twitter
Search
« Rolling your own pagination with will_paginate | Main | We're Hiring »
Monday
Sep082008

ruby-ldap gem for Windows


Ruby/LDAP is a useful ruby library that allows you to connect to and manipulate LDAP directories like OpenLDAP and Active Directory. Unfortunately

  • the library isn’t distributed as a gem; and
  • depends on native LDAP libraries for its operation

This puts it out of reach for many ruby developers deploying to a Windows environment without an installed C compiler. In the past I’ve leaned on a few good Samaritans that posted pre-compiled versions, but unfortunately most of these have either been taken down or are really old.

So, in desperate need of an install on a new windows VM I just built it from source. If you trust our binaries you can download the gem-ified ruby-ldap build based on the latest 0.9.7 release and compiled using Visual Studio 2008.


unzip ldap-0.9.7-mswin32.gem.zip
gem install ldap-0.9.7-mswin32.gem

I’ve tested this on a few boxes, though your mileage may vary.

Zetetic is the creator of the super-flexible Tempo Time Tracking system.

Reader Comments

There are no comments for this journal entry. To create a new comment, use the form below.

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>