Skip to content

Instantly share code, notes, and snippets.

@bourroush
Created October 30, 2013 17:34
Show Gist options
  • Save bourroush/7236751 to your computer and use it in GitHub Desktop.
Save bourroush/7236751 to your computer and use it in GitHub Desktop.
SyntaxError in Spree/products#show
Showing /Users/boris/Sites/tommyjohn/app/views/spree/products/show.html.haml where line #114 raised:
/Users/boris/Sites/tommyjohn/app/views/spree/products/show.html.haml:114: unknown regexp options - dv
/Users/boris/Sites/tommyjohn/app/views/spree/products/show.html.haml:115: syntax error, unexpected '<'
<div class="product-section description-preview">
^
/Users/boris/Sites/tommyjohn/app/views/spree/products/show.html.haml:116: syntax error, unexpected '<'
<h2>Product Description:</h2>
^
/Users/boris/Sites/tommyjohn/app/views/spree/products/show.html.haml:116: syntax error, unexpected tLABEL, expecting keyword_do or '{' or '('
<h2>Product Description:</h2>
^
/Users/boris/Sites/tommyjohn/app/views/spree/products/show.html.haml:119: unknown regexp options - dv
unmatched close parenthesis: /h2>
<div class="highlights">
');@output_buffer.safe_concat(' '); if @product.category=="undershirt" || @product.category=="underwear" ;@output_buffer.append= ( render @product.highlight_set ); elsif @product.category=="socks" ;@output_buffer.append= ( render "highlights_socks" ); end ;@output_buffer.safe_concat('
');@output_buffer.safe_concat('</i
/Users/boris/Sites/tommyjohn/app/views/spree/products/show.html.haml:120: syntax error, unexpected '<'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment