Permalink
Browse files

Change default environment to production if RAILS_ENV is not set

  • Loading branch information...
1 parent 81eabeb commit d5a92402a54db7e87e9078483ca7dd43a7b39476 @IamNaN committed Nov 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 private_pub.ru
View
@@ -6,5 +6,5 @@ require "private_pub"
Faye::WebSocket.load_adapter('thin')
-PrivatePub.load_config(File.expand_path("../config/private_pub.yml", __FILE__), ENV["RAILS_ENV"] || "development")
+PrivatePub.load_config(File.expand_path("../config/private_pub.yml", __FILE__), ENV["RAILS_ENV"] || "production")
run PrivatePub.faye_app

0 comments on commit d5a9240

Please sign in to comment.