Skip to content

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

@JKR007

Description

@JKR007

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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions