Skip to content

Instantly share code, notes, and snippets.

Created Aug 23, 2011
What would you like to do?
Debugging Kirk $stderr issue
require 'rubygems'
require 'sinatra/base'
require 'kirk'
require 'ruby-debug'
run {
get '/' do
# debugger
$stdout.puts 'Testing $stdout!'
$stderr.puts 'Testing $stderr!'
# To run - Save this file as, and run: rackup -s Kirk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment