Skip to content

Instantly share code, notes, and snippets.

@kyledrake
Created Aug 23, 2011
Embed
What would you like to do?
Debugging Kirk $stderr issue
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