deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@redhat.com
Subject [PATCH core 1/5] Core: Remove 'set' in deltacloudd when thin is not installed
Date Wed, 09 Jan 2013 11:29:13 GMT
From: Michal Fojtik <mfojtik@redhat.com>


Signed-off-by: Michal fojtik <mfojtik@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


Mime
View raw message