Created
August 23, 2011 21:08
-
-
Save kyledrake/1166551 to your computer and use it in GitHub Desktop.
Debugging Kirk $stderr issue
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
require 'rubygems' | |
require 'sinatra/base' | |
require 'kirk' | |
require 'ruby-debug' | |
run Sinatra.new { | |
get '/' do | |
# debugger | |
$stdout.puts 'Testing $stdout!' | |
$stderr.puts 'Testing $stderr!' | |
'hi' | |
end | |
} | |
# To run - Save this file as config.ru, and run: rackup -s Kirk |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment