Revert "Load ruby libs path in ImageRepository"

This reverts commit 52ff006835.
This commit is contained in:
Jaime Melis committed 2010-11-26 09:22:46 +01:00
1 parent 52ff006835
commit 000b6f2fd5
1 file changed
-10
@@ -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'