Removed superfluous requires. Now, all you have to
do is require net/ldap and you'll pick up all the needed modules.
This commit is contained in:
parent
4c9532f432
commit
825594ade2
|
@ -5,10 +5,7 @@
|
||||||
|
|
||||||
$:.unshift "lib"
|
$:.unshift "lib"
|
||||||
|
|
||||||
#require 'net/ber'
|
|
||||||
require 'net/ldap'
|
require 'net/ldap'
|
||||||
#require 'net/ldap/pdu'
|
|
||||||
#require 'net/ldap/filter'
|
|
||||||
require 'stringio'
|
require 'stringio'
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -190,10 +190,7 @@ if __FILE__ == $0
|
||||||
$logger.info "adding ../lib to loadpath, to pick up dev version of Net::LDAP."
|
$logger.info "adding ../lib to loadpath, to pick up dev version of Net::LDAP."
|
||||||
$:.unshift "../lib"
|
$:.unshift "../lib"
|
||||||
|
|
||||||
#require 'net/ber'
|
|
||||||
require 'net/ldap'
|
require 'net/ldap'
|
||||||
#require 'net/ldap/pdu'
|
|
||||||
#require 'net/ldap/filter'
|
|
||||||
|
|
||||||
EventMachine.run {
|
EventMachine.run {
|
||||||
$logger.info "starting LDAP server on 127.0.0.1 port 3890"
|
$logger.info "starting LDAP server on 127.0.0.1 port 3890"
|
||||||
|
|
Loading…
Reference in a new issue