From ef2c8fbfdcf63e488cb913a0fb89cf37c705c825 Mon Sep 17 00:00:00 2001 From: Sarah Allen Date: Thu, 28 Oct 2010 21:28:20 -0700 Subject: [PATCH] Rails.env is a string, not a symbol --- config/initializers/_load_app_config.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/initializers/_load_app_config.rb b/config/initializers/_load_app_config.rb index 723e38525..b66b0c8f9 100644 --- a/config/initializers/_load_app_config.rb +++ b/config/initializers/_load_app_config.rb @@ -23,4 +23,4 @@ end APP_CONFIG[:terse_pod_url] = APP_CONFIG[:pod_url].gsub(/(https?:|www\.)\/\//, '') APP_CONFIG[:terse_pod_url].chop! if APP_CONFIG[:terse_pod_url][-1, 1] == '/' -puts "WARNING: Please modify your app_config.yml to have a proper pod_url!" if APP_CONFIG[:terse_pod_url] == "example.org" && Rails.env != :test +puts "WARNING: Please modify your app_config.yml to have a proper pod_url!" if APP_CONFIG[:terse_pod_url] == "example.org" && Rails.env != "test"