Mailinglist Archive: yast-commit (883 mails)

< Previous Next >
[yast-commit] <rest-service> master : Warn if RAILS_ENV is unknown
  • From: Klaus Kämpf <kkaempf@xxxxxxx>
  • Date: Mon, 6 Jul 2009 15:10:59 +0200
  • Message-id: <E1MNnyP-0006Ee-Lf@xxxxxxxxxxxxxxxx>
ref: refs/heads/master
commit 0bef33c74964abf5ef0dfe0560e12e09354828a7
Author: Klaus Kämpf <kkaempf@xxxxxxx>
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@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages