I installed the ruby-activeldap package from gems. I fired up irb, and
did
require ''rubygems''
require_gem ''ruby-activeldap''
And I get this:
irb(main):001:0> require ''rubygems''
=> true
irb(main):002:0> require_gem ''ruby-activeldap''
NameError: uninitialized constant ActiveLDAP::Configuration::Base
from
/usr/pkg/lib/ruby/gems/1.8/gems/ruby-activeldap-0.7.4/lib/activeldap/configuration.rb:42
from
/usr/pkg/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require''
from
/usr/pkg/lib/ruby/gems/1.8/gems/ruby-activeldap-0.7.4/lib/activeldap.rb:931
from
/usr/pkg/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require''
from /usr/pkg/lib/ruby/site_ruby/1.8/rubygems.rb:229:in
`activate''
from /usr/pkg/lib/ruby/site_ruby/1.8/rubygems.rb:228:in
`activate''
from /usr/pkg/lib/ruby/site_ruby/1.8/rubygems.rb:66:in
`active_gem_with_options''
from /usr/pkg/lib/ruby/site_ruby/1.8/rubygems.rb:59:in
`require_gem''
from (irb):2
This SHOULD work, shouldnt it?
--
Posted via http://www.ruby-forum.com/.