about summary refs log tree commit homepage
path: root/examples/sinatra/unicorn-sinatra-example
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-03-09 16:47:19 -0700
committerEric Wong <normalperson@yhbt.net>2009-03-09 16:47:19 -0700
commitdebbcdc31db2931b27081661114f023bc99ab266 (patch)
treedd45483916f310b462e56c72fabe1703a879e064 /examples/sinatra/unicorn-sinatra-example
parentac6ace3a978b4074b6af6de982e2b6543b7f42cb (diff)
downloadunicorn-debbcdc31db2931b27081661114f023bc99ab266.tar.gz
It is no longer relevant (or working) with rackup compatibility.
Diffstat (limited to 'examples/sinatra/unicorn-sinatra-example')
-rwxr-xr-xexamples/sinatra/unicorn-sinatra-example13
1 files changed, 0 insertions, 13 deletions
diff --git a/examples/sinatra/unicorn-sinatra-example b/examples/sinatra/unicorn-sinatra-example
deleted file mode 100755
index 3472d56..0000000
--- a/examples/sinatra/unicorn-sinatra-example
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/home/ew/bin/ruby
-# putting unicorn in the shebang won't work because unicorn itself is
-# a ruby script, so the following is the next best thing:
-exec('unicorn', $0) if $0 == __FILE__
-
-# the below script is a standalone Sinatra application; absolutely
-# nothing special needs to be done in this Sinatra app for running
-# with Unicorn
-require 'sinatra_example'
-
-# the following hash needs to be the last statement, as unicorn
-# will eval this entire file
-{ :app => Sinatra::Application }