Skip to content

Instantly share code, notes, and snippets.

@jblanche
Created April 7, 2011 22:04
Show Gist options
  • Save jblanche/908857 to your computer and use it in GitHub Desktop.
Save jblanche/908857 to your computer and use it in GitHub Desktop.
➜ pwd
/Users/jblanche/.pow
➜ ruby --version
ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0]
➜ cd barthuspreview
➜ cat .rvmrc
rvm 1.9.2@barthuspreview
➜ ruby --version
ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-darwin10.7.0]
➜ rackup
[2011-04-07 23:59:45] INFO WEBrick 1.3.1
[2011-04-07 23:59:45] INFO ruby 1.9.2 (2010-08-18) [x86_64-darwin10.7.0]
[2011-04-07 23:59:45] INFO WEBrick::HTTPServer#start: pid=22468 port=9292
^C[2011-04-07 23:59:48] INFO going to shutdown ...
[2011-04-07 23:59:48] INFO WEBrick::HTTPServer#start done.
➜ telnet barthuspreview.dev 20559
Trying 127.0.0.1...
Connected to barthuspreview.dev.
Escape character is '^]'.
GET / HTTP/1.0
HTTP/1.1 500 Internal Server Error
Content-Type: text/plain
Connection: close
TypeError: Cannot read property 'root' of undefined
at HttpServer.<anonymous> (/Users/jblanche/Library/Application Support/Pow/Versions/0.2.2/lib/http_server.js:124:19)
at /Users/jblanche/Library/Application Support/Pow/Versions/0.2.2/lib/http_server.js:3:63
at Object.handle (/Users/jblanche/Library/Application Support/Pow/Versions/0.2.2/lib/http_server.js:27:16)
at next (/Users/jblanche/Library/Application Support/Pow/Versions/0.2.2/node_modules/connect/lib/http.js:199:17)
at next (/Users/jblanche/Library/Application Support/Pow/Versions/0.2.2/node_modules/connect/lib/http.js:201:11)
at next (/Users/jblanche/Library/Application Support/Pow/Versions/0.2.2/node_modules/connect/lib/http.js:201:11)
at next (/Users/jblanche/Library/Application Support/Pow/Versions/0.2.2/node_modules/connect/lib/http.js:201:11)
at next (/Users/jblanche/Library/Application Support/Pow/Versions/0.2.2/node_modules/connect/lib/http.js:201:11)
at next (/Users/jblanche/Library/Application Support/Pow/Versions/0.2.2/node_modules/connect/lib/http.js:213:9)
at HttpServer.<anonymous> (/Users/jblanche/Library/Application Support/Pow/Versions/0.2.2/lib/http_server.js:56:14)Connection closed by foreign host.
➜ curl barthuspreview.dev
<!doctype html>
<html>
<head>
<title>Pow: Error Starting Application</title>
<style>
body {
margin: 0;
padding: 0;
}
h1, h2, pre {
margin: 0;
padding: 15px 30px;
}
h1, h2 {
font-family: Helvetica, sans-serif;
}
h1 {
font-size: 36px;
background: #eeedea;
color: #c00;
border-bottom: 1px solid #999090;
}
h2 {
font-size: 18px;
font-weight: normal;
}
</style>
</head>
<body>
<h1>Pow can&rsquo;t start your application.</h1>
<h2><code>/Users/jblanche/dev/barthus-preview</code> raised an exception during boot.</h2>
<pre><strong>LoadError: no such file to load -- compass</strong>
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:36:in `require'
/Users/jblanche/dev/barthus-preview/Myapp.rb:1
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:36:in `require'
/Users/jblanche/dev/barthus-preview/config.ru:2
/Users/jblanche/Library/Application Support/Pow/Versions/0.2.2/node_modules/nack/lib/nack/builder.rb:4:in `instance_eval'
/Users/jblanche/Library/Application Support/Pow/Versions/0.2.2/node_modules/nack/lib/nack/builder.rb:4:in `initialize'
/Users/jblanche/dev/barthus-preview/config.ru:1:in `new'
/Users/jblanche/dev/barthus-preview/config.ru:1</pre>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment