Can you add this line to the top of your environment.rb file (at some
point BEFORE the initializer):

  module Engines; CONFIG={:edge => true}; end

The method for 'activating' edge engines behaviour changed a while
back, this should be reflected in the README.

- james

On 3/21/06, Surendra Singhi <[EMAIL PROTECTED]> wrote:
> Hello James,
>
> "James Adam" <[EMAIL PROTECTED]> writes:
> > I've recently commited a new version of trunk that works with the current 
> > edge:
> >
> >   http://dev.rails-engines.org/repository/changesets/305
> >
> > Please try that and let us know how you fare.
> >
> I am on rails revision 4006 and engines revision 309.
> The backtrace is different this time:
>
> ./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies
> .rb:125:in `rake_original_const_missing': uninitialized constant 
> LoadingModule (NameError)
>         from c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:1761:in 
> `const_missing'
>         from 
> ./script/../config/../vendor/plugins/engines/lib/engines/dependencies_extensions.rb:104
>         from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in 
> `require'
>         from 
> ./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:149:in
>  `require'
>         from ./script/../config/../vendor/plugins/engines/lib/engines.rb:384
>         from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in 
> `require'
>         from 
> ./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:149:in
>  `require'
>         from ./script/../config/../vendor/plugins/engines/init.rb:32:in 
> `load_plugin'
>          ... 12 levels...
>         from 
> ./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:149:in
>  `require'
>         from 
> ./script/../config/../vendor/rails/railties/lib/commands/server.rb:34
>         from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in 
> `require'
>         from script/server:3
>
>
> Thanks.
> --
> Surendra Singhi
> http://ssinghi.kreeti.com, http://www.kreeti.com
> Read my blog at: http://cuttingtheredtape.blogspot.com/
> ,----
> | "All animals are equal, but some animals are more equal than others."
> |     -- Orwell, Animal Farm, 1945
> `----
>
> >
> > On 3/20/06, Surendra Singhi <[EMAIL PROTECTED]> wrote:
> >> Hello,
> >>   Recently something changed with edge, such that engines are no longer
> >> working with edge rails, in spite of the line
> >>
> >>     Engines.config :edge, true
> >>
> >> in the environment.rb
> >>
> >> Also, on cursory analysis this stack trace seems different from earlier 
> >> stack
> >> traces.
> >>
> >> Thanks.
> >>
> >> c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:1748:in 
> >> `const_missing': s
> >> tack level too deep (SystemStackError)
> >>         from 
> >> ./script/../config/../vendor/plugins/engines/lib/engines/dependenci
> >> es_extensions.rb:10:in `require_or_load'
> >>         from 
> >> ./script/../config/../vendor/rails/activesupport/lib/active_support
> >> /dependencies.rb:30:in `depend_on'
> >>         from 
> >> ./script/../config/../vendor/rails/activesupport/lib/active_support
> >> /dependencies.rb:74:in `require_dependency'
> >>         from 
> >> ./script/../config/../vendor/rails/activesupport/lib/active_support
> >> /dependencies.rb:104:in `rake_original_const_missing'
> >>         from c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:1761:in 
> >> `cons
> >> t_missing'
> >>         from 
> >> ./script/../config/../vendor/plugins/engines/lib/engines/dependenci
> >> es_extensions.rb:10:in `require_or_load'
> >>         from 
> >> ./script/../config/../vendor/rails/activesupport/lib/active_support
> >> /dependencies.rb:30:in `depend_on'
> >>         from 
> >> ./script/../config/../vendor/rails/activesupport/lib/active_support
> >> /dependencies.rb:74:in `require_dependency'
> >>          ... 621 levels...
> >>         from 
> >> ./script/../config/../vendor/rails/activesupport/lib/active_support
> >> /dependencies.rb:149:in `require'
> >>         from 
> >> ./script/../config/../vendor/rails/railties/lib/commands/server.rb:
> >> 34
> >>         from 
> >> c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `re
> >> quire'
> >>         from script/server:3
> >>
> >> --
> >> Surendra Singhi
> >> http://ssinghi.kreeti.com, http://www.kreeti.com
> >> Read my blog at: http://cuttingtheredtape.blogspot.com/
> >> ,----
> >> | "All animals are equal, but some animals are more equal than others."
> >> |     -- Orwell, Animal Farm, 1945
> >> `----
> >>
> >>
> >> _______________________________________________
> >> engine-users mailing list
> >> [email protected]
> >> http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org
> >>
> >
> > --
> > * J *
> >   ~
>
>
> _______________________________________________
> engine-users mailing list
> [email protected]
> http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org
>


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

Reply via email to