From: Austin Ziegler Date: 2008-11-19T12:01:23+09:00 Subject: Re: Active Directory and Ruby On Tue, Nov 18, 2008 at 9:20 AM, Bruno Sousa wrote: > I've tried that: > gem install activedirectory > irb > irb(main):001:0> gem 'activedirectory' > => true You forgot to require 'activedirectory'. Gem simply forces the gem's load path into the current $LOAD_PATH. -austin > irb(main):002:0> ActiveDirectory::Base.server_settings = { > :host => "server.example.com", > :username => "username", > :password => "password", > :domain => "example.com", > :base_dn => "DC=example,DC=com" > } > > NameError: uninitialized constant ActiveDirectory > from (irb):2 > from :0 > > > I don't know what is happenning > -- > Posted via http://www.ruby-forum.com/. > > -- Austin Ziegler * halostatue@gmail.com * http://www.halostatue.ca/ * austin@halostatue.ca * http://www.halostatue.ca/feed/ * austin@zieglers.ca