Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8685135
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T22:29:13+00:00 2026-06-12T22:29:13+00:00

ActiveAdmin is giving me an Undefined mixin ‘global-reset’. error when it try to run

  • 0

ActiveAdmin is giving me an

Undefined mixin 'global-reset'.

error when it try to run

rake assets:precompile

ActiveAdmin is 0.3.4.
I have ActiveAdmin and an assets group in my Gemfile with sass, coffee-rails and uglifier.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T22:29:14+00:00Added an answer on June 12, 2026 at 10:29 pm

    The problem is indeed, as @dimitar points out, the line with the catch all because the asset pipeline is trying to compile partials and since they aren’t written to be compiled on their own, dependency issues appear.

    Depending on your app, you might need that catch all, specially if you have many JS, CoffeScript and SCSS/SASS files in several child folders. In that situation you might encounter that rails complains because something isn’t compiled for production when the catch all is removed.

    The solution is to have a catch all that excludes the SASS partials, _filename.css.[scss|sass] and that would solve it (worked for me!). I also included some other tips from other activeadmin suggestions including exactly some ActiveAdmin dependencies to be compiled. Here’s my code:

     # Include all JS files, also those in subdolfer or javascripts assets folder
     # includes for exmaple applicant.js. JS isn't the problem so the catch all works.
     config.assets.precompile += %w(*.js)
     # Replace %w( *.css *.js *.css.scss) with complex regexp avoiding SCSS partials compilation
     config.assets.precompile += [/^[^_]\w+\.(css|css.scss)$/]
     #Adding active_admin JS and CSS to the precompilation list
     config.assets.precompile += %w( active_admin.css active_admin.js active_admin/print.css )
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a resource Photos, which belongs to Adverts. In ActiveAdmin, users should be
I have an ActiveAdmin app with a simple model that I want to persist
I have this: ActiveAdmin.register User do controller do def show @user = User.find(params[:id]) show!
I have this system where I use ActiveAdmin to automate the backend and I
In my ActiveAdmin model I have a custom scope to show deleted records and
I'm trying to use activeadmin's batch_action so I can run actions on more than
I have the following form parsial that I'm using in activeadmin on in a
I'm using Rails 3, ActiveAdmin and Kaminari. I have this on the documents.rb file
I'm using ActiveAdmin, capistrano to deploy, thinkng_sphinx to search and delayed_job to automatically run
I have 2 activeadmin resources, both are subclasses of a model, using STI. For

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.