Hi
Engines.config won't work at the very top of environment.rb, since
that syntax requires the plugin to be loaded, and at that point Rails
itself has barely started. You need to more verbose version:
module Engines
CONFIG={:edge=>true}
end
Since you're using revision 309 of the engines trunk, you should see
in the README that the syntax for the engines rake tasks has changed
to fall in line with the new Rake namespacing that Rails has adopted.
Technically you should be getting the error:
Don't know how to build task 'engines_info'
This pretty much indicates that you don't have the latest version of
the engines plugin. Please double check your SVN urls, and check the
README or the engines.rake file for the new tasks.
... ain't edge fun :)
- james
On 3/24/06, Jay <[EMAIL PROTECTED]> wrote:
> I should add two things that might help narrow this down. One, I found
> this link while googling:
>
> http://www.freeonrails.com/node/228
>
> It seems like the same issue, but it doesn't seem like he managed to
> find a solution either.
>
> Also, when I try changing the first three lines in environment.rb to
>
> Engines.config :edge, true
>
> I get the error "uninitialized constant Engines" from rake.
>
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> 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