Permalink
Browse files

add sinatra as a git submodule and make use of it

  • Loading branch information...
1 parent aaa960b commit bd36abcd21e793216c78145d66391ae3e65cfd59 @al3x committed Mar 20, 2008
Showing with 7 additions and 2 deletions.
  1. +3 −0 .gitmodules
  2. +1 −1 config.ru
  3. +1 −1 config_development.yml
  4. +1 −0 down.rb
  5. +1 −0 sinatra
View
@@ -0,0 +1,3 @@
+[submodule "sinatra"]
+ path = sinatra
+ url = git://github.com/bmizerany/sinatra.git
View
@@ -1,4 +1,4 @@
-$:.unshift '../sinatra/lib'
+$:.unshift 'sinatra/lib'
$:.unshift '.'
require 'sinatra'
View
@@ -8,4 +8,4 @@ max_conns: 1024
timeout: 30
max_persistent_conns: 512
daemonize: false
-socket: /tmp/thin.sock
+port: 4568
View
@@ -1,6 +1,7 @@
#!/usr/bin/env ruby
%w( rubygems sinatra uri net/http erb timeout ).each { |g| require g }
+
include ERB::Util
def show(template, title="Down for everyone or just me?")
Submodule sinatra added at 898b36

0 comments on commit bd36abc

Please sign in to comment.