Skip to content

Instantly share code, notes, and snippets.

@tarky
Created November 18, 2015 06:33
Show Gist options
  • Save tarky/1d5eec4ba9169b0175b9 to your computer and use it in GitHub Desktop.
Save tarky/1d5eec4ba9169b0175b9 to your computer and use it in GitHub Desktop.
wrap_layout error
SyntaxError: /Users/hoge/blog/webfood/source/layouts/article.html.erb:1: syntax error, unexpected ')'
@_out_buf << ( wrap_layout :layout do ).to_s; @_out_buf << '
^
/Users/hoge/blog/webfood/source/layouts/article.html.erb:9: syntax error, unexpected keyword_ensure, expecting ')'
/Users/hoge/blog/webfood/source/layouts/article.html.erb:11: syntax error, unexpected keyword_end, expecting ')'
/Users/hoge/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/tilt-1.4.1/lib/tilt/template.rb:264:in `class_eval'
/Users/hoge/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/tilt-1.4.1/lib/tilt/template.rb:264:in `compile_template_method'
/Users/hoge/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/tilt-1.4.1/lib/tilt/template.rb:240:in `compiled_method'
/Users/hoge/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/tilt-1.4.1/lib/tilt/template.rb:169:in `evaluate'
/Users/hoge/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/tilt-1.4.1/lib/tilt/template.rb:103:in `render'
/Users/hoge/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/middleman-core-3.4.0/lib/middleman-core/core_extensions/rendering.rb:313:in `render_individual_file'
/Users/hoge/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/middleman-core-3.4.0/lib/middleman-core/core_extensions/rendering.rb:153:in `render_template'
/Users/hoge/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/middleman-core-3.4.0/lib/middleman-core/sitemap/resource.rb:127:in `block in render'
/Users/hoge/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/activesupport-4.2.4/lib/active_support/notifications.rb:166:in `instrument'
/Users/hoge/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/middleman-core-3.4.0/lib/middleman-core/util.rb:41:in `instrument'
/Users/hoge/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/middleman-core-3.4.0/lib/middleman-core/application.rb:241:in `instrument'
/Users/hoge/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/middleman-core-3.4.0/lib/middleman-core/sitemap/resource.rb:14:in `instrument'
/Users/hoge/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/middleman-core-3.4.0/lib/middleman-core/sitemap/resource.rb:100:in `render'
/Users/hoge/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/middleman-blog-3.5.3/lib/middleman-blog/blog_article.rb:40:in `render'
/Users/hoge/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/middleman-core-3.4.0/lib/middleman-core/core_extensions/request.rb:260:in `process_request'
/Users/hoge/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/middleman-core-3.4.0/lib/middleman-core/core_extensions/request.rb:210:in `block in call!'
/Users/hoge/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/middleman-core-3.4.0/lib/middleman-core/core_extensions/request.rb:209:in `catch'
/Users/hoge/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/middleman-core-3.4.0/lib/middleman-core/core_extensions/request.rb:209:in `call!'
/Users/hoge/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/middleman-core-3.4.0/lib/middleman-core/core_extensions/request.rb:195:in `call'
/Users/hoge/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rack-1.6.4/lib/rack/urlmap.rb:66:in `block in call'
/Users/hoge/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rack-1.6.4/lib/rack/urlmap.rb:50:in `each'
/Users/hoge/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rack-1.6.4/lib/rack/urlmap.rb:50:in `call'
/Users/hoge/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rack-livereload-0.3.16/lib/rack/livereload.rb:23:in `_call'
/Users/hoge/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rack-livereload-0.3.16/lib/rack/livereload.rb:14:in `call'
/Users/hoge/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rack-1.6.4/lib/rack/showexceptions.rb:24:in `call'
/Users/hoge/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rack-1.6.4/lib/rack/head.rb:13:in `call'
/Users/hoge/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rack-1.6.4/lib/rack/lint.rb:49:in `_call'
/Users/hoge/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rack-1.6.4/lib/rack/lint.rb:37:in `call'
/Users/hoge/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rack-1.6.4/lib/rack/builder.rb:153:in `call'
/Users/hoge/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rack-1.6.4/lib/rack/handler/webrick.rb:88:in `service'
/Users/hoge/.rbenv/versions/2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
/Users/hoge/.rbenv/versions/2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
/Users/hoge/.rbenv/versions/2.1.2/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment