Question

I'm using the bootstrap-sass gem. With these instructions https://github.com/twbs/bootstrap-sass#usage Things work ok except when I want to add a new stylesheet.

application.css.scss

@import "bourbon";
@import "custom";
@import "users";
@import "font-awesome";
@import "comments";
@import "animations";

directory structure

▾ stylesheets/
    animations.css
    application.css.scss
    classifieds.css.scss
    comments.css.scss
    custom.css.scss
    foo.css.scss
    news.css.scss
    relationships.css.scss
    scaffolds.css.scss
    users.css.scss

But if I add foo.css.scss to /stylesheets/ and add @import 'foo' to application.css.scss

I get a wrong number of arguments (2 for 1) (in app/assets/stylesheets/application.css.scss) error

What could I be doing wrong?

Was it helpful?

Solution

it seems sass gem changed number of arguments of Sass::Importers::Base#public_url.

New version of sass-rails-source-maps should resolve this.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top