Giter Site home page Giter Site logo

Comments (5)

megatux avatar megatux commented on May 26, 2024 1

What happens if you directly import active_admin/_forms (https://github.com/activeadmin/activeadmin/blob/5b711b6e22230e6e28be2a9d7367e9423d5dcc25/app/assets/stylesheets/active_admin/_forms.scss) like:

@import "active_admin/forms";

That seems to fix the problem here 👍 :

// @import "active_admin/base";
@import "active_admin/forms";
@import "active_material";

from active_material.

nhunzaker avatar nhunzaker commented on May 26, 2024

Yikes! I wonder what's up. From a quick search, I'm unable to find that variable, however it's hard to do a search from prior commits. What happens if you pull in the latest version of active_material (1.4.1):

https://github.com/vigetlabs/active_material/releases/tag/v1.4.1

from active_material.

nhunzaker avatar nhunzaker commented on May 26, 2024

Okay. Got it. It looks like this is from active_admin:

https://github.com/activeadmin/activeadmin/blob/2f7703600953b05e629e101a2b4d5a4c8844740c/app/assets/stylesheets/active_admin/_forms.scss

I'm curious if there's a partial compilation bug here, what happens if you clear the asset cache like this:

rake tmp:clear

?

from active_material.

kotlyarenko-d avatar kotlyarenko-d commented on May 26, 2024

Hello.
Got the same error...
activeadmin (1.0.0.pre2)
active_material (1.4.1)

rake tmp:clear did not help...

from active_material.

nhunzaker avatar nhunzaker commented on May 26, 2024

This variable is not defined within active_material. It's hard for me to track this down without knowing what your active_admin.scss stylesheet looks like.

Do you have code/gems in your app that rely on active_admin?

What happens if you directly import active_admin/_forms (https://github.com/activeadmin/activeadmin/blob/5b711b6e22230e6e28be2a9d7367e9423d5dcc25/app/assets/stylesheets/active_admin/_forms.scss) like:

@import "active_admin/forms";

from active_material.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.