Skip to content

Problems with dependency of the new and old jquery-rails and jquery-ui-rails #54

Closed
@pencilcheck

Description

@pencilcheck

activeadmin 0.6 depends on jquery-rails > 1.0.0 because at that time I believe they didn't foresee the change that refactor jquery-ui out into its own gem, but ironically activeadmin-mongoid depends on activeadmin ~> 0.6 and at the same time jquery-rails >= 3.0.0 and jquery-ui-rails >= 4.0.0, so when I run rails it will keep telling me that jquery-ui file is not found because activeadmin-0.6 is still using the old syntax to include jquery-ui and I can't include two versions of jquery-rails at the same time...

This issue has been giving me a lot of headaches, because if I upgrade to activeadmin 0.6.1 then formtastics will have problem with mongoid saying that method reflections is not found for Whatever:Class and the author of formtastics explicitly stated that he is not interested in supporting mongo db as seen in this issue (formtastic/formtastic#286).

So I'm stuck between this dependency hell, and I can't get out of it. And please don't tell me to upgrade to rails 4 (using rails 3.2.13 currently).

So please have mercy and remove that jquery-rails version dependency for activeadmin-mongoid or have a version to support older jquery-rails but not too archiac thanks (the last version is 0.0.2 which is over 1 year old).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions