ActiveACL and "already initialized constant OPTIONS"


I’ve been trying to get ActiveACL to work with my new project, and as
the title suggest I’m stuck. I get the following error:

warning: already initialized constant OPTIONS
undefined method options' for []:Array (NoMethodError) from /usr/lib/ruby/1.8/rubygems/custom_require.rb:33:ingem_original_require’
from /usr/lib/ruby/1.8/rubygems/custom_require.rb:33:in
require' from /var/lib/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:495:inrequire’
new_constants_in' from /var/lib/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:495:inrequire’
from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in
gem_original_require' from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:inrequire’
from script/server:3

I’ve googled and it seems like it’s caused by a missing gem, but I can’t
for the life of me find which one it would be. I’ve already installed
all the dependencies listed on ActiveACL’s project page.

Anyone with some ideas? Or should I just roll my own, since I need
object-level permissions and ActiveACL is the only plugin I found which
handles that.


I am having this exact same problem after installing SOAP4R, and
cannot for the life of me figure out what the issue is. I got it
working fine another box (OS X), but on my Linux box I continue to get
this error.

On Nov 18, 2:24 pm, Magnus Sjöstrand <rails-mailing-l…@andreas-

Check your gems. I have seen errors like this when a gem is included in
plugins and hasn’t been installed on the machine.

do a grep for require…

grep -rni ‘require’ rails_project/*

And make sure that all the libs it references are indeed on your

Another place to look is in the init.rb file. Or within the lib folder
the new plugin.

On 11/21/07, Ron F [email protected] wrote:

On Nov 18, 2:24 pm, Magnus Sjöstrand <rails-mailing-l…@andreas-

    from /usr/lib/ruby/1.8/rubygems/custom_require.rb:33:in

from script/server:3

Posted via

Nathaniel Steven Henry Brown