On 21 Mar 2013, at 18:50, Ismael Gimenez wrote:

> 2013-03-21T18:42:32+00:00 app[web.1]: ActionView::Template::Error 
> (SyntaxError: unexpected INDENT
> 2013-03-21T18:42:32+00:00 app[web.1]:   (in 
> /app/app/assets/javascripts/app.coffee)):

It looks like this is a coffeescript error, not a Haml issue.

> 2013-03-21T18:42:32+00:00 app[web.1]:     10:     = javascript_include_tag 
> "application" if user_signed_in?

> app/views/layouts/application.html.haml:10:in 
> `_app_views_layouts_application_html_haml__4435557158513798731_47437700'

The Haml line that is reporting the error appears to be where this coffeescript 
file is being compiled.

Note this is the same error that is reported when you deploy and Heroku tries 
to precompile your assets:

> -----> Preparing app for Rails asset pipeline
>       Running: rake assets:precompile
> 
> ...
> 
>       rake aborted!
>       SyntaxError: unexpected INDENT
>       (in /tmp/build_u78jv0ctsj98/app/assets/javascripts/app.coffee)

You should check your app.coffee file.


Matt

-- 
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to haml+unsubscr...@googlegroups.com.
To post to this group, send email to haml@googlegroups.com.
Visit this group at http://groups.google.com/group/haml?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to