about summary refs log tree commit homepage
path: root/examples/sinatra/sinatra_example.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-02-11 11:42:29 -0800
committerEric Wong <normalperson@yhbt.net>2009-02-11 11:42:29 -0800
commita78fdd5361f8e4e27eae893aedb21a0256c12a88 (patch)
treeda9a19b7ea9631fde5f64aa71ea932cb802af5ca /examples/sinatra/sinatra_example.rb
parent5f784047b15ef6d070af8fd2d41404dd08e85aa8 (diff)
downloadunicorn-a78fdd5361f8e4e27eae893aedb21a0256c12a88.tar.gz
Diffstat (limited to 'examples/sinatra/sinatra_example.rb')
-rw-r--r--examples/sinatra/sinatra_example.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/sinatra/sinatra_example.rb b/examples/sinatra/sinatra_example.rb
new file mode 100644
index 0000000..70d05c2
--- /dev/null
+++ b/examples/sinatra/sinatra_example.rb
@@ -0,0 +1,7 @@
+#!/home/ew/bin/ruby
+# this is a standalone Sinatra application, there is absolutely NOTHING
+# special that has to be done in this file for running with Unicorn,
+# instead take a look at the unicorn-sinatra-example script in this
+# directory
+require 'sinatra'
+get('/') { "hello world\n" }