Forum: Ruby on Rails Engine Trouble With Edge

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Eric G. (Guest)
on 2006-03-22 09:35
(Received via mailing list)
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.
Eric G. (Guest)
on 2006-03-22 09:45
(Received via mailing list)
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
This topic is locked and can not be replied to.