Created
July 26, 2009 22:47
-
-
Save patrickberkeley/155951 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/code/peacechina$ rackup config.ru -d | |
Exception `LoadError' at /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31 - no such file to load -- sinatra/base | |
Exception `LoadError' at /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31 - no such file to load -- Win32API | |
Exception `LoadError' at /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:38 - no such file to load -- Win32API | |
Exception `NoMethodError' at /usr/local/lib/ruby/gems/1.8/gems/sinatra-0.9.2/lib/sinatra/base.rb:830 - undefined method `extensions' for Object:Class | |
Exception `NoMethodError' at /usr/local/lib/ruby/gems/1.8/gems/sinatra-0.9.2/lib/sinatra/base.rb:830 - undefined method `extensions' for Object:Class | |
Exception `NoMethodError' at /usr/local/lib/ruby/gems/1.8/gems/sinatra-0.9.2/lib/sinatra/base.rb:830 - undefined method `extensions' for Object:Class | |
Exception `NoMethodError' at /usr/local/lib/ruby/gems/1.8/gems/sinatra-0.9.2/lib/sinatra/base.rb:830 - undefined method `extensions' for Object:Class | |
Exception `LoadError' at /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31 - no such file to load -- haml/util | |
Exception `NoMethodError' at /usr/local/lib/ruby/gems/1.8/gems/sinatra-0.9.2/lib/sinatra/base.rb:830 - undefined method `extensions' for Object:Class | |
Exception `NoMethodError' at /usr/local/lib/ruby/gems/1.8/gems/sinatra-0.9.2/lib/sinatra/base.rb:830 - undefined method `extensions' for Object:Class | |
Exception `LoadError' at /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31 - no such file to load -- mongrel | |
Exception `LoadError' at /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/gems.rb:7 - no such file to load -- mongrel_experimental | |
Exception `Gem::LoadError' at /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:636 - Could not find RubyGem mongrel_experimental (>= 1.1.5) | |
Rack::Handler::Mongrel | |
#<Rack::CommonLogger:0x1266028 | |
@app= | |
#<Rack::ShowExceptions:0x126fcf4 | |
@app=#<Rack::Lint:0x126fd94 @app=PeacechinaSite>, | |
@template= | |
#<ERB:0x126fccc | |
@filename=nil, | |
@safe_level=nil, | |
@src= | |
"_erbout = ''; _erbout.concat \"<!DOCTYPE HTML PUBLIC \\\"-//W3C//DTD HTML 4.01 Transitional//EN\\\" \\\"http://www.w3.org/TR/html4/loose.dtd\\\">\\n<html lang=\\\"en\\\">\\n<head>\\n <meta http-equiv=\\\"content-type\\\" content=\\\"text/html; charset=utf-8\\\" />\\n <meta name=\\\"robots\\\" content=\\\"NONE,NOARCHIVE\\\" />\\n <title>\"\n\n\n\n\n; _erbout.concat((h exception.class ).to_s); _erbout.concat \" at \"; _erbout.concat((h path ).to_s); _erbout.concat \"</title>\\n <style type=\\\"text/css\\\">\\n html * { padding:0; margin:0; }\\n body * { padding:10px 20px; }\\n body * * { padding:0; }\\n body { font:small sans-serif; }\\n body>div { border-bottom:1px solid #ddd; }\\n h1 { font-weight:normal; }\\n h2 { margin-bottom:.8em; }\\n h2 span { font-size:80%; color:#666; font-weight:normal; }\\n h3 { margin:1em 0 .5em 0; }\\n h4 { margin:0 0 .5em 0; font-weight: normal; }\\n table {\\n border:1px solid #ccc; border-collapse: collapse; background:white; }\\n tbody td, tbody th { vertical-align:top; padding:2px 3px; }\\n thead th {\\n padding:1px 6px 1px 3px; background:#fefefe; text-align:left;\\n font-weight:normal; font-size:11px; border:1px solid #ddd; }\\n tbody th { text-align:right; color:#666; padding-right:.5em; }\\n table.vars { margin:5px 0 2px 40px; }\\n table.vars td, table.req td { font-family:monospace; }\\n table td.code { width:100%;}\\n table td.code div { overflow:hidden; }\\n table.source th { color:#666; }\\n table.source td {\\n font-family:monospace; white-space:pre; border-bottom:1px solid #eee; }\\n ul.traceback { list-style-type:none; }\\n ul.traceback li.frame { margin-bottom:1em; }\\n div.context { margin: 10px 0; }\\n div.context ol {\\n padding-left:30px; margin:0 10px; list-style-position: inside; }\\n div.context ol li {\\n font-family:monospace; white-space:pre; color:#666; cursor:pointer; }\\n div.context ol.context-line li { color:black; background-color:#ccc; }\\n div.context ol.context-line li span { float: right; }\\n div.commands { margin-left: 40px; }\\n div.commands a { color:black; text-decoration:none; }\\n #summary { background: #ffc; }\\n #summary h2 { font-weight: normal; color: #666; }\\n #summary ul#quicklinks { list-style-type: none; margin-bottom: 2em; }\\n #summary ul#quicklinks li { float: left; padding: 0 1em; }\\n #summary ul#quicklinks>li+li { border-left: 1px #666 solid; }\\n #explanation { background:#eee; }\\n #template, #template-not-exist { background:#f6f6f6; }\\n #template-not-exist ul { margin: 0 0 0 20px; }\\n #traceback { background:#eee; }\\n #requestinfo { background:#f6f6f6; padding-left:120px; }\\n #summary table { border:none; background:transparent; }\\n #requestinfo h2, #requestinfo h3 { position:relative; margin-left:-100px; }\\n #requestinfo h3 { margin-bottom:-1em; }\\n .error { background: #ffc; }\\n .specific { color:#cc3300; font-weight:bold; }\\n </style>\\n <script type=\\\"text/javascript\\\">\\n //<!--\\n function getElementsByClassName(oElm, strTagName, strClassName){\\n // Written by Jonathan Snook, http://www.snook.ca/jon;\\n // Add-ons by Robert Nyman, http://www.robertnyman.com\\n var arrElements = (strTagName == \\\"*\\\" && document.all)? document.all :\\n oElm.getElementsByTagName(strTagName);\\n var arrReturnElements = new Array();\\n strClassName = strClassName.replace(/\\\\-/g, \\\"\\\\\\\\-\\\");\\n var oRegExp = new RegExp(\\\"(^|\\\\\\\\s)\\\" + strClassName + \\\"(\\\\\\\\s|$$)\\\");\\n var oElement;\\n for(var i=0; i<arrElements.length; i++){\\n oElement = arrElements[i];\\n if(oRegExp.test(oElement.className)){\\n arrReturnElements.push(oElement);\\n }\\n }\\n return (arrReturnElements)\\n }\\n function hideAll(elems) {\\n for (var e = 0; e < elems.length; e++) {\\n elems[e].style.display = 'none';\\n }\\n }\\n window.onload = function() {\\n hideAll(getElementsByClassName(document, 'table', 'vars'));\\n hideAll(getElementsByClassName(document, 'ol', 'pre-context'));\\n hideAll(getElementsByClassName(document, 'ol', 'post-context'));\\n }\\n function toggle() {\\n for (var i = 0; i < arguments.length; i++) {\\n var e = document.getElementById(arguments[i]);\\n if (e) {\\n e.style.display = e.style.display == 'none' ? 'block' : 'none';\\n }\\n }\\n return false;\\n }\\n function varToggle(link, id) {\\n toggle('v' + id);\\n var s = link.getElementsByTagName('span')[0];\\n var uarr = String.fromCharCode(0x25b6);\\n var darr = String.fromCharCode(0x25bc);\\n s.innerHTML = s.innerHTML == uarr ? darr : uarr;\\n return false;\\n }\\n //-->\\n </script>\\n</head>\\n<body>\\n\\n<div id=\\\"summary\\\">\\n <h1>\"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n; _erbout.concat((h exception.class ).to_s); _erbout.concat \" at \"; _erbout.concat((h path ).to_s); _erbout.concat \"</h1>\\n <h2>\"\n; _erbout.concat((h exception.message ).to_s); _erbout.concat \"</h2>\\n <table><tr>\\n <th>Ruby</th>\\n <td><code>\"\n\n\n; _erbout.concat((h frames.first.filename ).to_s); _erbout.concat \"</code>: in <code>\"; _erbout.concat((h frames.first.function ).to_s); _erbout.concat \"</code>, line \"; _erbout.concat((h frames.first.lineno ).to_s); _erbout.concat \"</td>\\n </tr><tr>\\n <th>Web</th>\\n <td><code>\"\n\n\n; _erbout.concat((h req.request_method ).to_s); _erbout.concat \" \"; _erbout.concat((h(req.host + path)).to_s); _erbout.concat \"</code></td>\\n </tr></table>\\n\\n <h3>Jump to:</h3>\\n <ul id=\\\"quicklinks\\\">\\n <li><a href=\\\"#get-info\\\">GET</a></li>\\n <li><a href=\\\"#post-info\\\">POST</a></li>\\n <li><a href=\\\"#cookie-info\\\">Cookies</a></li>\\n <li><a href=\\\"#env-info\\\">ENV</a></li>\\n </ul>\\n</div>\\n\\n<div id=\\\"traceback\\\">\\n <h2>Traceback <span>(innermost first)</span></h2>\\n <ul class=\\\"traceback\\\">\\n\"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n; frames.each { |frame| ; _erbout.concat \"\\n <li class=\\\"frame\\\">\\n <code>\"\n\n; _erbout.concat((h frame.filename ).to_s); _erbout.concat \"</code>: in <code>\"; _erbout.concat((h frame.function ).to_s); _erbout.concat \"</code>\\n\\n \"\n\n; if frame.context_line ; _erbout.concat \"\\n <div class=\\\"context\\\" id=\\\"c\"\n; _erbout.concat((h frame.object_id ).to_s); _erbout.concat \"\\\">\\n \"\n; if frame.pre_context ; _erbout.concat \"\\n <ol start=\\\"\"\n; _erbout.concat((h frame.pre_context_lineno+1 ).to_s); _erbout.concat \"\\\" class=\\\"pre-context\\\" id=\\\"pre\"; _erbout.concat((h frame.object_id ).to_s); _erbout.concat \"\\\">\\n \"\n; frame.pre_context.each { |line| ; _erbout.concat \"\\n <li onclick=\\\"toggle('pre\"\n; _erbout.concat((h frame.object_id ).to_s); _erbout.concat \"', 'post\"; _erbout.concat((h frame.object_id ).to_s); _erbout.concat \"')\\\">\"; _erbout.concat((h line ).to_s); _erbout.concat \"</li>\\n \"\n; } ; _erbout.concat \"\\n </ol>\\n \"\n\n; end ; _erbout.concat \"\\n\\n <ol start=\\\"\"\n\n; _erbout.concat((h frame.lineno ).to_s); _erbout.concat \"\\\" class=\\\"context-line\\\">\\n <li onclick=\\\"toggle('pre\"\n; _erbout.concat((h frame.object_id ).to_s); _erbout.concat \"', 'post\"; _erbout.concat((h frame.object_id ).to_s); _erbout.concat \"')\\\">\"; _erbout.concat((h frame.context_line ).to_s); _erbout.concat \"<span>...</span></li></ol>\\n\\n \"\n\n; if frame.post_context ; _erbout.concat \"\\n <ol start='\"\n; _erbout.concat((h frame.lineno+1 ).to_s); _erbout.concat \"' class=\\\"post-context\\\" id=\\\"post\"; _erbout.concat((h frame.object_id ).to_s); _erbout.concat \"\\\">\\n \"\n; frame.post_context.each { |line| ; _erbout.concat \"\\n <li onclick=\\\"toggle('pre\"\n; _erbout.concat((h frame.object_id ).to_s); _erbout.concat \"', 'post\"; _erbout.concat((h frame.object_id ).to_s); _erbout.concat \"')\\\">\"; _erbout.concat((h line ).to_s); _erbout.concat \"</li>\\n \"\n; } ; _erbout.concat \"\\n </ol>\\n \"\n\n; end ; _erbout.concat \"\\n </div>\\n \"\n\n; end ; _erbout.concat \"\\n </li>\\n\"\n\n; } ; _erbout.concat \"\\n </ul>\\n</div>\\n\\n<div id=\\\"requestinfo\\\">\\n <h2>Request information</h2>\\n\\n <h3 id=\\\"get-info\\\">GET</h3>\\n \"\n\n\n\n\n\n\n\n; unless req.GET.empty? ; _erbout.concat \"\\n <table class=\\\"req\\\">\\n <thead>\\n <tr>\\n <th>Variable</th>\\n <th>Value</th>\\n </tr>\\n </thead>\\n <tbody>\\n \"\n\n\n\n\n\n\n\n\n; req.GET.sort_by { |k, v| k.to_s }.each { |key, val| ; _erbout.concat \"\\n <tr>\\n <td>\"\n\n; _erbout.concat((h key ).to_s); _erbout.concat \"</td>\\n <td class=\\\"code\\\"><div>\"\n; _erbout.concat((h val.inspect ).to_s); _erbout.concat \"</div></td>\\n </tr>\\n \"\n\n; } ; _erbout.concat \"\\n </tbody>\\n </table>\\n \"\n\n\n; else ; _erbout.concat \"\\n <p>No GET data.</p>\\n \"\n\n; end ; _erbout.concat \"\\n\\n <h3 id=\\\"post-info\\\">POST</h3>\\n \"\n\n\n; unless req.POST.empty? ; _erbout.concat \"\\n <table class=\\\"req\\\">\\n <thead>\\n <tr>\\n <th>Variable</th>\\n <th>Value</th>\\n </tr>\\n </thead>\\n <tbody>\\n \"\n\n\n\n\n\n\n\n\n; req.POST.sort_by { |k, v| k.to_s }.each { |key, val| ; _erbout.concat \"\\n <tr>\\n <td>\"\n\n; _erbout.concat((h key ).to_s); _erbout.concat \"</td>\\n <td class=\\\"code\\\"><div>\"\n; _erbout.concat((h val.inspect ).to_s); _erbout.concat \"</div></td>\\n </tr>\\n \"\n\n; } ; _erbout.concat \"\\n </tbody>\\n </table>\\n \"\n\n\n; else ; _erbout.concat \"\\n <p>No POST data.</p>\\n \"\n\n; end ; _erbout.concat \"\\n\\n\\n <h3 id=\\\"cookie-info\\\">COOKIES</h3>\\n \"\n\n\n\n; unless req.cookies.empty? ; _erbout.concat \"\\n <table class=\\\"req\\\">\\n <thead>\\n <tr>\\n <th>Variable</th>\\n <th>Value</th>\\n </tr>\\n </thead>\\n <tbody>\\n \"\n\n\n\n\n\n\n\n\n; req.cookies.each { |key, val| ; _erbout.concat \"\\n <tr>\\n <td>\"\n\n; _erbout.concat((h key ).to_s); _erbout.concat \"</td>\\n <td class=\\\"code\\\"><div>\"\n; _erbout.concat((h val.inspect ).to_s); _erbout.concat \"</div></td>\\n </tr>\\n \"\n\n; } ; _erbout.concat \"\\n </tbody>\\n </table>\\n \"\n\n\n; else ; _erbout.concat \"\\n <p>No cookie data.</p>\\n \"\n\n; end ; _erbout.concat \"\\n\\n <h3 id=\\\"env-info\\\">Rack ENV</h3>\\n <table class=\\\"req\\\">\\n <thead>\\n <tr>\\n <th>Variable</th>\\n <th>Value</th>\\n </tr>\\n </thead>\\n <tbody>\\n \"\n\n\n\n\n\n\n\n\n\n\n; env.sort_by { |k, v| k.to_s }.each { |key, val| ; _erbout.concat \"\\n <tr>\\n <td>\"\n\n; _erbout.concat((h key ).to_s); _erbout.concat \"</td>\\n <td class=\\\"code\\\"><div>\"\n; _erbout.concat((h val ).to_s); _erbout.concat \"</div></td>\\n </tr>\\n \"\n\n; } ; _erbout.concat \"\\n </tbody>\\n </table>\\n\\n</div>\\n\\n<div id=\\\"explanation\\\">\\n <p>\\n You're seeing this error because you use <code>Rack::ShowExceptions</code>.\\n </p>\\n</div>\\n\\n</body>\\n</html>\\n\"\n\n\n\n\n\n\n\n\n\n\n\n\n\n; _erbout">>, | |
@logger=#<IO:0x2ddc0>> | |
PeacechinaSite | |
127.0.0.1 - - [26/Jul/2009 18:46:45] "GET / HTTP/1.1" 200 - 0.0036 |
No, sorry about that.
I didn't have time to track this down to its root cause, but switching to unicorn just made it go away.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Did you ever find a resolution for this? I'm seeing something suspiciously similar.