Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
JKR007 opened this issue Apr 21, 2020 · 2 comments

Comments

@JKR007
Copy link

JKR007 commented Apr 21, 2020

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
Copy link

arslanaly47 commented Sep 1, 2020

+1. It's the same for me.

@Ouskababoushka
Copy link

thank you @JKR007

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants