From 4a5a256eefb9dd6173b2155bb6994d88da612d5f Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Thu, 25 Sep 2014 18:41:00 +0200 Subject: Use correct temp dir for Ruby on Rails app --- server/sonar-web/src/main/webapp/WEB-INF/config/environment.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/sonar-web/src/main/webapp/WEB-INF/config/environment.rb b/server/sonar-web/src/main/webapp/WEB-INF/config/environment.rb index 12ea9ebd64a..d7b46739219 100644 --- a/server/sonar-web/src/main/webapp/WEB-INF/config/environment.rb +++ b/server/sonar-web/src/main/webapp/WEB-INF/config/environment.rb @@ -72,7 +72,7 @@ Rails::Initializer.run do |config| # The development mode (real-time edition of ruby code) can be enabled on an app by replacing the # following line by : # config.plugin_paths << '/absolute/path/to/myproject/src/main/resources/org/sonar/ror' - config.plugin_paths << "#{Java::OrgSonarServerUi::JRubyFacade.getInstance().getServerHome()}/temp/ror" + config.plugin_paths << "#{Java::JavaLang::System.getProperty("java.io.tmpdir")}/ror" # Force all environments to use the same logger level # (by default production uses :info, the others :debug) -- cgit v1.2.3