From 75ca01188dce92d44a68e1de0af818e40ecaef2c Mon Sep 17 00:00:00 2001 From: Skud Date: Wed, 12 Sep 2012 09:23:49 +0100 Subject: [PATCH] commenting out 'unshift' line as recommended by error message from passenger' --- config/setup_load_paths.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/setup_load_paths.rb b/config/setup_load_paths.rb index 5ddf16903..00d3acf10 100644 --- a/config/setup_load_paths.rb +++ b/config/setup_load_paths.rb @@ -2,7 +2,7 @@ if ENV['MY_RUBY_HOME'] && ENV['MY_RUBY_HOME'].include?('rvm') begin rvm_path = File.dirname(File.dirname(ENV['MY_RUBY_HOME'])) rvm_lib_path = File.join(rvm_path, 'lib') - $LOAD_PATH.unshift rvm_lib_path +# $LOAD_PATH.unshift rvm_lib_path require 'rvm' RVM.use_from_path! File.dirname(File.dirname(__FILE__)) rescue LoadError