Permalink
Browse files

Using a file as a semaphore vs an environment variable

  • Loading branch information...
1 parent 902313f commit 9d668d6b9783da0faaa6cb5a2acb1311478b4068 Tom Copeland committed Nov 13, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 config.ru
View
@@ -1,4 +1,4 @@
-if ENV['MAINTENANCE_MODE']
+if File.exists?("tmp/maintenance_mode")
require File.join('vendor', 'bundler_gems', 'environment')
require File.join('config', 'environment')

0 comments on commit 9d668d6

Please sign in to comment.