You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltacloud.apache.org by mf...@apache.org on 2013/01/14 11:59:00 UTC
[3/5] git commit: Core: Remove 'set' in deltacloudd when thin is not
installed
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 <mf...@redhat.com>
Authored: Thu Dec 13 11:47:31 2012 +0100
Committer: Michal fojtik <mf...@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