aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2012-07-13 15:08:57 +0200
committerSimon Brandhof <simon.brandhof@gmail.com>2012-07-13 20:33:35 +0200
commit6df8db4603834eeb4d3b897487650ff6348da1d5 (patch)
tree48aca0cee77e4a3117ab0b3aa9d591cc36e30e7e /sonar-server
parentfc86d6794049a0f498dc0b85b9350198b4ac7444 (diff)
downloadsonarqube-6df8db4603834eeb4d3b897487650ff6348da1d5.tar.gz
sonarqube-6df8db4603834eeb4d3b897487650ff6348da1d5.zip
SONAR-3579 New way to fix conflict with local ruby installations
Diffstat (limited to 'sonar-server')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/config/environment.rb2
1 files changed, 1 insertions, 1 deletions
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')