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 Johnson <[EMAIL PROTECTED]> wrote:
> 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 Johnson
> (canadaduane)
> http://blog.inquirylabs.com/
>
>
> _______________________________________________
> engine-users mailing list
> [email protected]
> http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org
>


--
Greg Freemyer
The Norcross Group
Forensics for the 21st Century
_______________________________________________
engine-users mailing list
[email protected]
http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org

Reply via email to