Re: plugin dependencies

Frederick Cheung
Wed, 19 Sep 2007 12:55:04 -0000

On 19 Sep 2007, at 13:47, Michael Koziarski wrote:

>
>> It seems to me that it''s perfectly possible to depend on the
presence
>> of stuff without necessarily patching it (and to be fair a lot of the
>> time you don''t need access to your dependencies at plugin load
times
>> in which case it all just goes away (which has been the case when
>> we''ve been using plugins internally to share code between
apps) but I
>> wouldn''t want to rely on it always working out that easily).
>
> If the plugins aren''t dependent on each other at load time, the we
> don''t need something like require_plugin.
>
Sure, and what we''ve done so far internally is twist things so that
this isn''t the case and we don''t have to rely on load order.
It would
be nice not to have to perform those contorsions.

Fred

> --
> Cheers
>
> Koz
>
> --~--~---------~--~----~------------~-------~--~----~
> You received this message because you are subscribed to the Google
> Groups "Ruby on Rails: Core" group.
> To post to this group, send email to rubyonrails-core@googlegroups.com
> To unsubscribe from this group, send email to rubyonrails-core-
> unsubscribe@googlegroups.com
> For more options, visit this group at http://groups.google.com/
> group/rubyonrails-core?hl=en
> -~----------~----~----~----~------~----~------~--~---
>