css - Activeadmin assets Not Loading Rails 4.2 -
previously getting error can't quite remember rails 4.2 , activeadmin. changed:
@import "active_admin/mixins"; @import "active_admin/base";
to:
@import "active_admin/mixins.css"; @import "active_admin/base.css";
this worked fine in debug mode... , got rid of error... css isn't loading in production mode.
i'm wondering if there's should change in maybe production.rb or in capfile (i'm using latest capistrano), reflect change made in active_admin.css.sss
edit:
this error getting before , why made changes made:
oooookay... error getting related sass (and should've taken screen shot time... oh well...) referred sass not being able process "&" sign... meant version of sass-rails off.
so first changed:
@import "active_admin/mixins.css"; @import "active_admin/base.css";
back to:
@import "active_admin/mixins"; @import "active_admin/base";
then updated latest version of sass-rails. (i had updated latest version of capistrano because after updated no longer deploy.)
that's did. saw had specified specific versions of sass-rails , capistrano. commented versioning out , updated both , worked.
Comments
Post a Comment