Sprocket Digest + Debug combination broken?

Hi all,

we’re just in the process of upgrading to the new asset pipeline, but I’m having an annoying issue with Sprockets.

It turns out that I can’t enable both debug and digest in development mode. When I do, I get a Errno::ENAMETOOLONG because the digest becomes the entire content of the file instead of a hex. I get this with both sass and javascript.

Anyone have any idea what I’m doing wrong?

Thanks,

/C

The (things I think are) relevant information:

The actual error:

Errno::ENAMETOOLONG in Welcome#index Showing /app/views/layouts/simple.html.erb where line #18 raised:File name too long - /app/assets/images/(function($) { var remotipart; …