Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

make sure production environment

  • Loading branch information...
commit 27b6db493e066914cdfb20009db4a785fed9353b 1 parent 8d75909
@gregwebs gregwebs authored
Showing with 3 additions and 3 deletions.
  1. +1 −1  pong/rack.ru
  2. +1 −1  pong/thin.sh
  3. +1 −1  pong/unicorn.sh
View
2  pong/rack.ru
@@ -1,6 +1,6 @@
class RackApp
def call(env)
- [200, {'Content-Type' => 'text/plain'}, "PONG"]
+ [200, {'Content-Type' => 'text/plain'}, ["PONG"]]
end
end
run RackApp.new
View
2  pong/thin.sh
@@ -4,7 +4,7 @@ d=$(readlink -f $DIR)
source lib.sh
rvm use 1.9.2
-thin -p 3000 -R rack.ru -s 2 start &
+thin -p 3000 -R rack.ru -e production start &
benchmark
View
2  pong/unicorn.sh
@@ -4,6 +4,6 @@ d=$(readlink -f $DIR)
source lib.sh
rvm use 1.9.2
-unicorn -p 3000 rack.ru &
+unicorn -p 3000 -E production rack.ru &
benchmark
Please sign in to comment.
Something went wrong with that request. Please try again.