Skip to content

Commit

Permalink
make sure production environment
Browse files Browse the repository at this point in the history
  • Loading branch information
gregwebs committed Mar 15, 2011
1 parent 8d75909 commit 27b6db4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion 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
2 changes: 1 addition & 1 deletion pong/thin.sh
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion pong/unicorn.sh
Expand Up @@ -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

0 comments on commit 27b6db4

Please sign in to comment.