Papercloud / flattened_active_admin

Bring your Active Admin up-to-date with this customizable add on
MIT License
27 stars 7 forks source link

ActionView::Template::Error (Error: File to import not found or unreadable: bourbon... #7

Open JKR007 opened 4 years ago

JKR007 commented 4 years ago

Hi Firstly, I would like to say thanks for developing this gem.

I followed the the instructions on Installation and Usage sections of README After running the server and refreshing page, I got the following error.

ActionView::Template::Error (Error: File to import not found or unreadable: bourbon.
        on line 11:1 of ../../../.rbenv/versions/2.4.9/lib/ruby/gems/2.4.0/gems/flattened_active_admin-0.0.7/app/assets/stylesheets/flattened_active_admin/mixins/_all.scss
        from line 1:1 of ../../../.rbenv/versions/2.4.9/lib/ruby/gems/2.4.0/gems/flattened_active_admin-0.0.7/app/assets/stylesheets/flattened_active_admin/_mixins.scss
        from line 11:1 of app/assets/stylesheets/active_admin.scss
>> @import "bourbon";

   ^
):

I am using: Ruby - 2.4.9 Rails - 5.2.0 Active Admin - 2.7.0

Adding gem "bourbon" into Gemfile and running bundle install solved this problem. Created this issue for developers if they are having the same issue. I hope this will be helpful.

The issue originated in gem "bourbon" and it was fixed in newer version, source:

arslanaly47 commented 4 years ago

+1. It's the same for me.

Ouskababoushka commented 2 months ago

thank you @JKR007