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

File to import not found or unreadable: mixins/hide-text #677

Closed
r007 opened this issue Jul 29, 2014 · 4 comments
Closed

File to import not found or unreadable: mixins/hide-text #677

r007 opened this issue Jul 29, 2014 · 4 comments

Comments

@r007
Copy link

r007 commented Jul 29, 2014

I have a problem with upgrading bootstrap-sass from 3.0 to 3.2, I don't use rails (it's just a static project, I use middleman)

Import from my scss file:

@import "bootstrap";

Command:

$ middleman build --verbose

Result:

File to import not found or unreadable: mixins/hide-text.
Load paths:
  /media/ubuntu/697acfb6-f29d-4b6c-a95c-ae2d764dc47f/var/www/wordpress/wp-content/themes/refresh/source/stylesheets
  /var/lib/gems/1.9.1/gems/compass-core-1.0.0.alpha.21/stylesheets
  /var/lib/gems/1.9.1/gems/modular-scale-2.0.5/stylesheets
  /var/lib/gems/1.9.1/gems/omg-text-0.0.2/stylesheets
  /var/lib/gems/1.9.1/gems/sassy-maps-0.4.0/sass
  /var/lib/gems/1.9.1/gems/breakpoint-2.4.5/stylesheets
  /var/lib/gems/1.9.1/gems/compass-recipes-0.3.0/stylesheets
/var/lib/gems/1.9.1/gems/bootstrap-sass-3.2.0.0/assets/stylesheets/bootstrap/_mixins.scss:5
/var/lib/gems/1.9.1/gems/bootstrap-sass-3.2.0.0/assets/stylesheets/bootstrap.scss:3

Before upgrading everything worked fine. What should I do now?

@glebm
Copy link
Member

glebm commented Jul 29, 2014

This bug is present in an old version of sprockets (rails/sass-rails#137). Upgrading middleman-sprockets and sprockets to the latest versions may help.

@r007
Copy link
Author

r007 commented Jul 29, 2014

Well, I have latest sprockets. Looks like it's not because of sprockets.

$ gem list | grep sprockets
middleman-sprockets (3.3.3)
sprockets (2.12.1)
sprockets-helpers (1.1.0)
sprockets-sass (1.2.0, 1.1.0)

@glebm
Copy link
Member

glebm commented Jul 29, 2014

gem list list all the gems installed, but what is in Gemfile.lock? This looks the same as this issue with sprockets-sass 1.1.0, fixed in 1.2.0 petebrowne/sprockets-sass#27

@r007
Copy link
Author

r007 commented Jul 29, 2014

Oh, you're right! The problem is in sprockets-sass. Middleman-sprockets for some reason used an old sprockets-sass 1.1.0 instead of new 1.2.0. So I deleted the old version and now everything works like a charm! Thanks a bunch!

@r007 r007 closed this as completed Jul 29, 2014
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

2 participants