Ben, I haven't done much with Rails 4, so I
'm sorry I
can't help you there, but a tip for anyone thats spelunking around a Rails
(or any Gem) issue, is to bundle everything into /vendor,

$ bundle install --path vendor/bundle

then you can grep your project for the method definition inside whatever
Gem is giving you fits and add debugging code or jump into Pry to figure
out whats really going on.

- john






On Mon, Jan 27, 2014 at 4:14 PM, Benjamin Wanicur <[email protected]>wrote:

> Hello Ruby Friends!
>
> I've burned a few too many hours on this, so I suppose it's time to reach
> out for help...
>
> I've written a Rails 4 app and I'm using the sass-rails gem.  In my *.
> css.scss files I am using the image-url and font-url helpers to refer to
> fonts and images I am using in the CSS.  After running RAILS_ENV=production
> rake assets:precompile,  I noticed that the generated
> public/assets/application-xxxxxxx.css file is not referring to assets using
> the SHA finger print.  Here is an example:
>
> I have an image that was precompiled into public/assets like so:
>
> public/assets/some-image-name-xxxxxxxxxxx.png
>
> In my public/assets/application-xxxxxxxxxxx.css file, the CSS references
> the image like this:
>
> background-image:url(/assets/some-image-name.png)
>
> I suspect the image-url helper from the sass-rails file is not working,
> but I cannot figure out why.  I am having the same problem with the
> font-url helper that sass-rails provides.  Anyone else encounter this issue
> before ?
>
> Ben W
>
> --
> --
> SD Ruby mailing list
> [email protected]
> http://groups.google.com/group/sdruby
> ---
> You received this message because you are subscribed to the Google Groups
> "SD Ruby" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
-- 
SD Ruby mailing list
[email protected]
http://groups.google.com/group/sdruby
--- 
You received this message because you are subscribed to the Google Groups "SD 
Ruby" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to