mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
Revert "Load ruby libs path in ImageRepository(cherry picked from commit 52ff006835738b441e4e0a642a5dac6e73d32d3f)"
This reverts commit dbd4f14ab54b1148a85e2c56d3955af2b9f88d0d.
This commit is contained in:
parent
dbd4f14ab5
commit
fa71b4180a
@ -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'
|
||||
|
Loading…
x
Reference in New Issue
Block a user