You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltacloud.apache.org by mf...@redhat.com on 2012/12/13 12:45:29 UTC
[PATCH core 1/5] Core: Remove 'set' in deltacloudd when thin is not installed
From: Michal Fojtik <mf...@redhat.com>
Signed-off-by: Michal fojtik <mf...@redhat.com>
---
server/bin/deltacloudd | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/server/bin/deltacloudd b/server/bin/deltacloudd
index 08ec5a3..d9ebcfc 100755
--- a/server/bin/deltacloudd
+++ b/server/bin/deltacloudd
@@ -197,10 +197,7 @@ unless have_thin
app = Rack::Builder.new {
use Rack::CommonLogger # apache-like logging
- use Rack::Reloader if options[:env] == "development"
- unless RUBY_PLATFORM == 'java'
- set :root, $top_srcdir # Set Sinatra root since we can't chdir to ../
- end
+ use Rack::Reloader #if options[:env] == "development"
run inner_app
}.to_app
--
1.8.0.2