Does engines work with edge rails?

I’m just joining the list, so bear with me if this has been asked
before.

I have an application running on edge rails that I attempted to add
the login engine to. Unfortunately, however, I received a stack
level too deep error when starting or using my app on the console:

./script/…/config/…/vendor/rails/activerecord/lib/…/…/
activesupport/lib/active_support/dependencies.rb:106:in
const_missing': stack level too deep (SystemStackError) from ./script/../config/../vendor/plugins/engines/lib/ dependencies_extensions.rb:28:in require_or_load’
from ./script/…/config/…/vendor/rails/activerecord/
lib/…/…/activesupport/lib/active_support/dependencies.rb:30:in
depend_on' from ./script/../config/../vendor/rails/activerecord/ lib/../../activesupport/lib/active_support/dependencies.rb:74:in require_dependency’
from ./script/…/config/…/vendor/rails/activerecord/
lib/…/…/activesupport/lib/active_support/dependencies.rb:74:in
require_dependency' from ./script/../config/../vendor/rails/activerecord/ lib/../../activesupport/lib/active_support/dependencies.rb:108:in const_missing’
from ./script/…/config/…/vendor/plugins/engines/lib/
dependencies_extensions.rb:28:in require_or_load' from ./script/../config/../vendor/rails/activerecord/ lib/../../activesupport/lib/active_support/dependencies.rb:30:in depend_on’
from ./script/…/config/…/vendor/rails/activerecord/
lib/…/…/activesupport/lib/active_support/dependencies.rb:74:in
require_dependency' ... 711 levels... from ./script/../config/../vendor/rails/railties/lib/ commands/generate.rb:1:in require’
from ./script/…/config/…/vendor/rails/railties/lib/
commands/generate.rb:1
from script/generate:3:in `require’
from script/generate:3

I’m not sure whether this is due to some of my own custom hacks, or
if it’s just a general incompatibility between Engines and Edge
Rails. From my minimal tracing of the bug, line 28 of
dependencies_extensions.rb seems to indicate that the reference to
the Engines constant causes the dependency libs to try to load itself
over and over again.

Any ideas?

Duane J.
(canadaduane)
http://blog.inquirylabs.com/

I’m a new newbie that has not tried edge yet, but a recent posting
talked about using it.

http://www.ruby-forum.com/topic/54572#new

On 2/15/06, Duane J. [email protected] wrote:

     from ./script/../config/../vendor/plugins/engines/lib/
     from ./script/../config/../vendor/rails/activerecord/
      ... 711 levels...

Rails. From my minimal tracing of the bug, line 28 of


engine-users mailing list
[email protected]
http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org


Greg F.
The Norcross Group
Forensics for the 21st Century

On Feb 15, 2006, at 1:07 PM, Greg F. wrote:

I’m a new newbie that has not tried edge yet, but a recent posting
talked about using it.

Engines and Edge Rails - Engines - Ruby-Forum

Just what I was looking for! Thanks, Greg.

Duane J.
(canadaduane)
http://blog.inquirylabs.com/

Hi Duane,

Yeah, if you read that post you’ll see that some stuff in Edge Rails
dependencies (quite a bit actually) has changed, so I’m looking to the
‘community’ to help me get the Engines plugin up and running in time
for the 1.1 release. Any patches/bug reports you can provide are
greatly appreciated!

Cheers

james

On 2/15/06, Duane J. [email protected] wrote:

Duane J.
(canadaduane)
http://blog.inquirylabs.com/


engine-users mailing list
[email protected]
http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org

  • J *
    ~