Created
January 22, 2009 11:56
-
-
Save bmizerany/50508 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| git:master!sinatra/examples> thin start -R multiapp.ru -D | |
| >> Thin web server (v1.0.1 codename ?) | |
| >> Debugging ON | |
| >> Maximum connections set to 1024 | |
| >> Listening on 0.0.0.0:3000, CTRL+C to stop | |
| !! Unexpected error while processing request: block not supplied | |
| block not supplied | |
| ./../lib/sinatra/base.rb:300:in `instance_eval' | |
| ./../lib/sinatra/base.rb:300:in `initialize' | |
| ./../lib/sinatra/base.rb:675:in `new' | |
| ./../lib/sinatra/base.rb:675:in `construct_middleware' | |
| ./../lib/sinatra/base.rb:653:in `call' | |
| /Users/blake/.gems/gems/thin-1.0.1/lib/thin/connection.rb:80:in `pre_process' | |
| /Users/blake/.gems/gems/thin-1.0.1/lib/thin/connection.rb:78:in `catch' | |
| /Users/blake/.gems/gems/thin-1.0.1/lib/thin/connection.rb:78:in `pre_process' | |
| /Users/blake/.gems/gems/thin-1.0.1/lib/thin/connection.rb:57:in `process' | |
| /Users/blake/.gems/gems/thin-1.0.1/lib/thin/connection.rb:42:in `receive_data' | |
| /Users/blake/.gems/gems/eventmachine-0.12.2/lib/eventmachine.rb:231:in `run_machine' | |
| /Users/blake/.gems/gems/eventmachine-0.12.2/lib/eventmachine.rb:231:in `run' | |
| /Users/blake/.gems/gems/thin-1.0.1/lib/thin/backends/base.rb:57:in `start' | |
| /Users/blake/.gems/gems/thin-1.0.1/lib/thin/server.rb:150:in `start' | |
| /Users/blake/.gems/gems/thin-1.0.1/lib/thin/controllers/controller.rb:80:in `start' | |
| /Users/blake/.gems/gems/thin-1.0.1/lib/thin/runner.rb:173:in `send' | |
| /Users/blake/.gems/gems/thin-1.0.1/lib/thin/runner.rb:173:in `run_command' | |
| /Users/blake/.gems/gems/thin-1.0.1/lib/thin/runner.rb:139:in `run!' | |
| /Users/blake/.gems/gems/thin-1.0.1/bin/thin:6 | |
| /Users/blake/.gems/bin/thin:19:in `load' | |
| /Users/blake/.gems/bin/thin:19 | |
This file contains hidden or 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
| require 'rubygems' | |
| require File.dirname(__FILE__) + '/../lib/sinatra/base' | |
| run(Sinatra.new { | |
| get '/' do | |
| 'hi!' | |
| end | |
| }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment