Skip to content

Instantly share code, notes, and snippets.

@BitPuffin
Created May 24, 2011 12:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BitPuffin/988643 to your computer and use it in GitHub Desktop.
Save BitPuffin/988643 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<title>FilePile</title>
<%= javascript_include_tag 'http://code.jquery.com/jquery-latest.pack.js' # includes jquery from their website %>
<%= javascript_include_tag "application"%>
<%= stylesheet_link_tag "application"%>
<%= csrf_meta_tag %>
</head>
<body id="main_body">
<div id="wrapper">
<div id="logo">
<%= image_tag "logo.png", :height => "200px", :width => "547px" %>
</div>
</div>
<%= yield %>
</body>
</html>
..gives error:
SyntaxError in My_files#new
Showing /home/papi/Dropbox/Frozen melonbox/App/FilePile/app/views/layouts/application.html.erb where line #14 raised:
compile error
/home/papi/Dropbox/Frozen melonbox/App/FilePile/app/views/layouts/application.html.erb:14: unknown regexp options - dv
/home/papi/Dropbox/Frozen melonbox/App/FilePile/app/views/layouts/application.html.erb:14: unmatched ): /head>
<body id="main_body">
<div id="wrapper">
<div id="logo">
');@output_buffer.append= ( image_tag "logo.png", :height => "200px", :width => "547px" );@output_buffer.safe_concat('
');@output_buffer.safe_concat(' </
/home/papi/Dropbox/Frozen melonbox/App/FilePile/app/views/layouts/application.html.erb:15: syntax error, unexpected '<'
</div>
^
/home/papi/Dropbox/Frozen melonbox/App/FilePile/app/views/layouts/application.html.erb:17: unknown regexp options - bdy
/home/papi/Dropbox/Frozen melonbox/App/FilePile/app/views/layouts/application.html.erb:17: unmatched ): /div>
');@output_buffer.append= ( yield );@output_buffer.safe_concat('
');@output_buffer.safe_concat(' </
/home/papi/Dropbox/Frozen melonbox/App/FilePile/app/views/layouts/application.html.erb:18: syntax error, unexpected '<'
</html>
^
/home/papi/Dropbox/Frozen melonbox/App/FilePile/app/views/layouts/application.html.erb:18: unterminated string meets end of file
Extracted source (around line #14):
11: <div id="wrapper">
12: <div id="logo">
13: <%= image_tag "logo.png", :height => "200px", :width => "547px" %>
14: </div>
15: </div>
16: <%= yield %>
17: </body>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment