Engine Trouble With Edge


#1

First off, yes, I did follow the “Using Engines With Edge Rails” post on
the Engines wiki.

So here’s my problem.
In ActiveSupport 1.2.5, there was a class called RootLoadingModule which
had a parent class LoadingModule in
activesupport/lib/active_support/dependencies.rb
ie. RootLoadingModule < LoadingModule < Module
My problem is that there is no RootLoadingModule class or LoadingModule
class in Edge Rails now, and it seems that the Engines plugin depends on
those classes being there.

plugins/engines/lib/dependencies_extensions.rb - line #72
class RootLoadingModule < LoadingModule
# hack to allow adding to the load paths within the Rails
Dependencies mechanism.
# this allows Engine classes to be unloaded and loaded along with
standard
# Rails application classes.
def add_path(path)
@load_paths << (path.kind_of?(ConstantLoadPath) ? path :
ConstantLoadPath.new(path))
end
end

I have the very latest from Engines via. svn. Is anyone else having the
same problems.

Cheers,
Eric G.


#2

Arg …
Well, apparently I spoke too soon. I rechecked my svn:externals after
posting and found that I was pointing to the old engine repository.
Sorry.
Eric