ref: refs/heads/master
commit 0bef33c74964abf5ef0dfe0560e12e09354828a7
Author: Klaus Kämpf
Date: Mon Jul 6 15:10:59 2009 +0200
Warn if RAILS_ENV is unknown
---
webservice/config/environment.rb | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/webservice/config/environment.rb b/webservice/config/environment.rb
index 8a0c7d5..da2a212 100644
--- a/webservice/config/environment.rb
+++ b/webservice/config/environment.rb
@@ -92,4 +92,6 @@ elsif RAILS_ENV == "development" or RAILS_ENV == "production"
ResourceRegistration.register_plugin(plugin)
end
ResourceRegistration.route ResourceRegistration.resources
+else
+ $stderr.puts "No ResourceRegistration triggered"
end
--
To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org
For additional commands, e-mail: yast-commit+help@opensuse.org