From 000b6f2fd55672f29de4861167941a7027a4d024 Mon Sep 17 00:00:00 2001 From: Jaime Melis Date: Fri, 26 Nov 2010 09:22:46 +0100 Subject: [PATCH] Revert "Load ruby libs path in ImageRepository" This reverts commit 52ff006835738b441e4e0a642a5dac6e73d32d3f. --- src/oca/ruby/OpenNebula/ImageRepository.rb | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/oca/ruby/OpenNebula/ImageRepository.rb b/src/oca/ruby/OpenNebula/ImageRepository.rb index 5cec29761b..63c510bbbd 100644 --- a/src/oca/ruby/OpenNebula/ImageRepository.rb +++ b/src/oca/ruby/OpenNebula/ImageRepository.rb @@ -14,16 +14,6 @@ # limitations under the License. # #--------------------------------------------------------------------------- # -ONE_LOCATION=ENV["ONE_LOCATION"] - -if !ONE_LOCATION - RUBY_LIB_LOCATION="/usr/lib/one/ruby" -else - RUBY_LIB_LOCATION=ONE_LOCATION+"/lib/ruby" -end - -$: << RUBY_LIB_LOCATION - require 'OpenNebula/Image' require 'fileutils' require 'CommandManager'