Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Sass::Rails::Resolver not found on heroku #105
After updating to rails 4.2 , sass-rails 5.1, compass 1.01 (via compas-rails) deploying to heroku causes the following error:
The local development environment works fine. Maybe it’s something with compass. Commenting out "@import compass" in application.css.scss shows the same error in the development environment.
referenced this issue
Jan 14, 2015
Please check #106.
So here's the story: In sass-rails < 4.0 the asset path helpers like
@kangguru I think just extending the existence check like I did in my pull request is sufficient. I tested the following combinations:
They all work and do the right thing, ie embed the correct asset url.
works for me :) as far as i can tell.
this is something i have in my stylesheet:
&.as-mobile +retina-background(image-path('leistungen_mobile.jpg'), image-path('firstname.lastname@example.org'))
this is how i use it in the styleguide
%li .a-hero-list-box.as-mobile .a-hero-list-box--title Mobile Foo
yields no error. @derfred this the usecase when you encountered the issue, correct?
hm, are you using the correct reference in your Gemfile?
this fix isn't yet in hagenburger/master
I had a deep look into
This will be available from 2.0.0.alpha.3 on.