I'm having trouble getting assets to precompile in an app I'm working on. Not sure if it's something related to a "themes" gem I'm using, tilt, or something else. However, when I run "rake assets:precompile --trace", the stack trace leads me to a call being made by tilt.
Here's a gist of what I'm seeing (sorry, files are slightly out of order).
I've included the following:
The weird thing is that the error message is referencing line 30-something as the cause of the error, but that ERB file doesn't even have 30 lines.
Anyway, any idea if this is something related to tilt...or what else may be causing this?
The problem here is that the template is precompiled with standard ERB, but it uses syntax (<%= foo do %>) that's only available in Rails 3's ERB-fork (see http://timelessrepo.com/block-helpers-in-rails3 for more details). This seems like a bug (or misconfiguration) in Rails. I don't know enough about the asset pipeline to help you (sorry).
<%= foo do %>
@kenton Were you able to figure this out? This may not be possible as part of the asset pipeline.
Not possible? Isn't the asset pipeline Turing complete these days? :)
Closing this because of no feedback from reporter. Please re-open if this is still an issue and you think we can help you.