I encountered an error when trying to use the activeadmin_reorderable gem in my ActiveAdmin project. After following the installation instructions and adding @import "activeadmin_reorderable"; as the last @import statement in my active_admin.css.scss file, I received the following error:
Error: no mixin named light-button on line 3:14 of ../usr/local/bundle/ruby/2.6.0/gems/activeadmin_reorderable-.2.1/app/assets/stylesheets/activeadmin_reorderable.scss
from line 18:9 of app/assets/stylesheets/active_admin.scss
>> @include light-button;
Steps to Reproduce:
Install the activeadmin_reorderable gem and specify the correct version in the Gemfile.
Add @import "activeadmin_reorderable"; as the last @import statement in the active_admin.css.scss file.
Visit an ActiveAdmin page that uses the activeadmin_reorderable functionality.
Expected Behavior:
The activeadmin_reorderable gem should work as expected without any errors, and the pages should render correctly.
Actual Behavior:
The light-button mixin is referenced in the activeadmin_reorderable.scss file but seems to be missing or undefined. This leads to the error mentioned above when trying to use the activeadmin_reorderable functionality.
Additional Information:
ActiveAdmin version: 2.9.0
Activeadmin Reorderable version: 0.2.1
Ruby version: 2.6.3
Rails version: 5.2.6
Notes:
I have verified that the light-button mixin is not defined in the activeadmin_reorderable gem itself. I have also checked my project's custom stylesheets and mixins, but couldn't find any reference to the light-button mixin.
Please let me know if there's any additional information or steps I can provide to help resolve this issue. Thank you!
I encountered an error when trying to use the activeadmin_reorderable gem in my ActiveAdmin project. After following the installation instructions and adding @import "activeadmin_reorderable"; as the last @import statement in my active_admin.css.scss file, I received the following error:
Steps to Reproduce:
activeadmin_reorderable
gem and specify the correct version in theGemfile
.@import "activeadmin_reorderable";
as the last@import
statement in theactive_admin.css.scss
file.activeadmin_reorderable
functionality.Expected Behavior:
The
activeadmin_reorderable
gem should work as expected without any errors, and the pages should render correctly.Actual Behavior:
The
light-button
mixin is referenced in theactiveadmin_reorderable.scss
file but seems to be missing or undefined. This leads to the error mentioned above when trying to use theactiveadmin_reorderable
functionality.Additional Information:
Notes:
I have verified that the
light-button
mixin is not defined in theactiveadmin_reorderable
gem itself. I have also checked my project's custom stylesheets and mixins, but couldn't find any reference to thelight-button
mixin.Please let me know if there's any additional information or steps I can provide to help resolve this issue. Thank you!