Skip to content

Load order issue #113

Open
Open
@packrat386

Description

@packrat386

The changes introduced in #96 cause difficult to debug results if one requires multiple gems that themselves require api_auth.

Lets say I have 2 gems, gem A and gem B. Gem A requires api_auth but does not require active_resource. Gem B requires api_auth and active_resource and uses the active_resource mixin. If, in my gemfile, I require gem A before gem B then gem A will fail to load with an error saying that the mixins like with_api_auth are not defined.

Would it be possible to revert to the old behaviour? Otherwise if multiple libraries use api_auth then one needs to be careful not to load api_auth before the rails bits that it's modifying.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions