From 6df8db4603834eeb4d3b897487650ff6348da1d5 Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Fri, 13 Jul 2012 15:08:57 +0200 Subject: [PATCH] SONAR-3579 New way to fix conflict with local ruby installations --- sonar-server/src/main/webapp/WEB-INF/config/environment.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sonar-server/src/main/webapp/WEB-INF/config/environment.rb b/sonar-server/src/main/webapp/WEB-INF/config/environment.rb index 019a57bbbfe..34b1f761c3c 100644 --- a/sonar-server/src/main/webapp/WEB-INF/config/environment.rb +++ b/sonar-server/src/main/webapp/WEB-INF/config/environment.rb @@ -3,7 +3,7 @@ # Avoid conflict with local ruby installations # See http://jira.codehaus.org/browse/SONAR-3579 -ENV["GEM_HOME"]= ENV.fetch("GEM_PATH", []).first +ENV["GEM_HOME"] = ENV["GEM_PATH"] = nil # Bootstrap the Rails environment, frameworks, and default configuration require File.join(File.dirname(__FILE__), 'boot') -- 2.39.5