Skip to content

Instantly share code, notes, and snippets.

@Fonsan
Created June 10, 2011 13:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Fonsan/1018813 to your computer and use it in GitHub Desktop.
Save Fonsan/1018813 to your computer and use it in GitHub Desktop.
Failing 2.0pre
$: << File.expand_path('..', __FILE__)
require 'bundler/setup'
require 'highscore'
run App.new
source 'http://rubygems.org'
gem 'sinatra'
gem 'erubis'
gem 'shotgun'
require 'sinatra/base'
require 'erubis'
class App < Sinatra::Base
set :sessions, true
get '/' do
erubis :index
end
end
$ shotgun
== Shotgun/WEBrick on http://127.0.0.1:9393/
[2011-06-10 15:07:44] INFO WEBrick 1.3.1
[2011-06-10 15:07:44] INFO ruby 1.8.7 (yyyy-mm-dd) [x86_64-apple-darwin10.7.4]
[2011-06-10 15:07:44] INFO WEBrick::HTTPServer#start: pid=40289 port=9393
127.0.0.1 - - [10/Jun/2011 15:08:06] "GET / HTTP/1.1" 200 - 0.0959
Exit from thread detected.
^C^C^C^C^C^C^CKilled
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment