deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject [3/5] git commit: Core: Remove 'set' in deltacloudd when thin is not installed
Date Mon, 14 Jan 2013 10:59:00 GMT
Core: Remove 'set' in deltacloudd when thin is not installed


Project: http://git-wip-us.apache.org/repos/asf/deltacloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltacloud/commit/67267532
Tree: http://git-wip-us.apache.org/repos/asf/deltacloud/tree/67267532
Diff: http://git-wip-us.apache.org/repos/asf/deltacloud/diff/67267532

Branch: refs/heads/master
Commit: 672675320f1f5e8d99f6b4ff38dc647eda138a83
Parents: d3e5972
Author: Michal Fojtik <mfojtik@redhat.com>
Authored: Thu Dec 13 11:47:31 2012 +0100
Committer: Michal fojtik <mfojtik@redhat.com>
Committed: Mon Jan 14 11:58:01 2013 +0100

----------------------------------------------------------------------
 server/bin/deltacloudd |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/67267532/server/bin/deltacloudd
----------------------------------------------------------------------
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
 


Mime
View raw message