Skip to content

Instantly share code, notes, and snippets.

@hilukasz
Created April 26, 2013 02:49
Show Gist options
  • Select an option

  • Save hilukasz/5464784 to your computer and use it in GitHub Desktop.

Select an option

Save hilukasz/5464784 to your computer and use it in GitHub Desktop.
SyntaxError in Posts#index
Showing /Users/lukaszwieczorek/Documents/Ruby/rummageMonster/app/views/posts/index.html.haml where line #32 raised:
/Users/lukaszwieczorek/Documents/Ruby/rummageMonster/app/views/posts/index.html.haml:32: unknown regexp options - hadr
/Users/lukaszwieczorek/Documents/Ruby/rummageMonster/app/views/posts/index.html.haml:32: syntax error, unexpected $undefined
... </form>\n </header>\n <div id='main'>\n ...
... ^
/Users/lukaszwieczorek/Documents/Ruby/rummageMonster/app/views/posts/index.html.haml:32: syntax error, unexpected tIDENTIFIER, expecting keyword_do or '{' or '('
...n </header>\n <div id='main'>\n <div class=...
... ^
/Users/lukaszwieczorek/Documents/Ruby/rummageMonster/app/views/posts/index.html.haml:32: syntax error, unexpected $undefined
...header>\n <div id='main'>\n <div class='clearfix...
... ^
/Users/lukaszwieczorek/Documents/Ruby/rummageMonster/app/views/posts/index.html.haml:32: syntax error, unexpected keyword_class, expecting keyword_do or '{' or '('
... id='main'>\n <div class='clearfix' id='content'>#{
... ^
/Users/lukaszwieczorek/Documents/Ruby/rummageMonster/app/views/posts/index.html.haml:32: syntax error, unexpected tIDENTIFIER, expecting tSTRING_DEND
... <div class='clearfix' id='content'>#{
... ^
/Users/lukaszwieczorek/Documents/Ruby/rummageMonster/app/views/posts/index.html.haml:37: syntax error, unexpected '}', expecting tSTRING_DEND
));}</div>\n </div>\n <...
^
/Users/lukaszwieczorek/Documents/Ruby/rummageMonster/app/views/posts/index.html.haml:37: unknown regexp options - dv
/Users/lukaszwieczorek/Documents/Ruby/rummageMonster/app/views/posts/index.html.haml:37: syntax error, unexpected $undefined
));}</div>\n </div>\n <footer class='clearfi...
^
/Users/lukaszwieczorek/Documents/Ruby/rummageMonster/app/views/posts/index.html.haml:37: syntax error, unexpected keyword_class, expecting keyword_do or '{' or '('
... </div>\n <footer class='clearfix'></footer>\n ...
... ^
/Users/lukaszwieczorek/Documents/Ruby/rummageMonster/app/views/posts/index.html.haml:37: syntax error, unexpected '<'
... <footer class='clearfix'></footer>\n script(src='h...
... ^
end pattern with unmatched parenthesis: /footer>\n script(src='http:/
/Users/lukaszwieczorek/Documents/Ruby/rummageMonster/app/views/posts/index.html.haml:37: syntax error, unexpected tSTRING_BEG, expecting tSTRING_DEND
...ax/libs/jquery/1/jquery.min.js')\n script(src='http://m...
... ^
/Users/lukaszwieczorek/Documents/Ruby/rummageMonster/app/views/posts/index.html.haml:37: syntax error, unexpected tIDENTIFIER, expecting tSTRING_DEND
...in.js')\n script(src='http://maps.googleapis.com/maps/a...
... ^
/Users/lukaszwieczorek/Documents/Ruby/rummageMonster/app/views/posts/index.html.haml:37: unknown regexp options - ap
/Users/lukaszwieczorek/Documents/Ruby/rummageMonster/app/views/posts/index.html.haml:37: syntax error, unexpected tIDENTIFIER, expecting keyword_do or '{' or '('
...ogleapis.com/maps/api/js?sensor=false')\n script(src='/...
... ^
/Users/lukaszwieczorek/Documents/Ruby/rummageMonster/app/views/posts/index.html.haml:37: syntax error, unexpected tSTRING_BEG, expecting tSTRING_DEND
...s.com/maps/api/js?sensor=false')\n script(src='/js/shaz...
... ^
/Users/lukaszwieczorek/Documents/Ruby/rummageMonster/app/views/posts/index.html.haml:37: syntax error, unexpected tSTRING_BEG, expecting tSTRING_DEND
... script(src='/js/shazam.js')\n script(src='/js/jque...
... ^
/Users/lukaszwieczorek/Documents/Ruby/rummageMonster/app/views/posts/index.html.haml:37: syntax error, unexpected tSTRING_BEG, expecting tSTRING_DEND
...ery.screwdefaultbuttons.min.js')\n </div>\n </body>\n</h...
... ^
/Users/lukaszwieczorek/Documents/Ruby/rummageMonster/app/views/posts/index.html.haml:37: unterminated string meets end of file
Extracted source (around line #32):
29: %input.glow#searchAddress{: type='text', name='address', value='enter your address here'}
30: %input#searchLatitude{: type='hidden', name='latitude'}
31: %input#searchLongitude{: type='hidden', name='longitude'}
32: %input.blueButton#searchSubmit{: type='submit', value='search'}
33: %span.hideText find a sale!
34: %ul#searchAddresses
35: #main
Trace of template inclusion: app/views/posts/index.html.haml
Rails.root: /Users/lukaszwieczorek/Documents/Ruby/rummageMonster
Application Trace | Framework Trace | Full Trace
app/controllers/posts_controller.rb:7:in `index'
Request
Parameters:
None
Show session dump
Show env dump
Response
Headers:
None
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment