Skip to content

File to import not found or unreadable: variables on Rails 3.2.16 #523

@seantanly

Description

@seantanly

After upgrading to version bootstrap-sass 3.1.0.1, I'm having the above error when precompiling assets.

My stylesheet contains.

@import "bootstrap";

After digging around a bit, i noticed the file

vendor/assets/stylesheets/bootstrap/bootstrap.scss 

is different from the previous working version 3.0.3.0, in which the @import statements are missing "bootstrap/" path component.

version 3.0.3.0

@import "bootstrap/variables"; 

version 3.1.0.1

@import "variables";

Adding the missing path component allows me to precompile successfully.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions