1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-23 17:33:56 +03:00

B #4304: Distribution gems affects OpenNebula (#4578)

Remove vendor_ruby and site_ruby directories from $LOAD_PATH, so
that distribution gems installed directly into loadable path
without need to use rubygems are not loaded by require.
This commit is contained in:
Vlastimil Holer 2020-04-22 10:21:08 +02:00 committed by GitHub
parent 02b0c98722
commit d064ee6db3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
188 changed files with 278 additions and 30 deletions

View File

@ -32,6 +32,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -51,6 +51,7 @@ FENCE_HOST = File.dirname(__FILE__) + '/fence_host.sh'
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -33,6 +33,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -32,6 +32,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -30,6 +30,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -30,6 +30,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -30,6 +30,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -30,6 +30,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -30,6 +30,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -30,6 +30,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -30,6 +30,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -30,6 +30,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -28,6 +28,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -28,6 +28,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -28,6 +28,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -28,6 +28,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -28,6 +28,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -30,6 +30,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -28,6 +28,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -28,6 +28,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -30,6 +30,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -28,6 +28,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -28,6 +28,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -30,6 +30,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -34,6 +34,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -28,6 +28,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -28,6 +28,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -28,6 +28,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -28,6 +28,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -30,6 +30,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -28,6 +28,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -28,6 +28,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -28,6 +28,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -28,6 +28,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -28,6 +28,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -28,6 +28,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -28,6 +28,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -27,6 +27,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -27,6 +27,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -27,6 +27,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -27,6 +27,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -27,6 +27,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -27,6 +27,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -27,6 +27,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -27,6 +27,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -27,6 +27,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -27,6 +27,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -27,6 +27,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -27,6 +27,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -27,6 +27,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -27,6 +27,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -27,6 +27,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -27,6 +27,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -27,6 +27,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -27,6 +27,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -27,6 +27,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -27,6 +27,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -27,6 +27,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -27,6 +27,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -42,6 +42,7 @@ VIEWS_LOCATION = RUBY_LIB_LOCATION + '/cloud/econe/views'
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -33,6 +33,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -26,7 +26,10 @@ else
GEMS_LOCATION ||= ONE_LOCATION + '/share/gems'
end
Gem.use_paths(GEMS_LOCATION) if File.directory?(GEMS_LOCATION)
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION
$LOAD_PATH << File.dirname(__FILE__)

View File

@ -26,7 +26,10 @@ else
GEMS_LOCATION ||= ONE_LOCATION + '/share/gems'
end
Gem.use_paths(GEMS_LOCATION) if File.directory?(GEMS_LOCATION)
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION
$LOAD_PATH << File.dirname(__FILE__)

View File

@ -30,7 +30,10 @@ else
GEMS_LOCATION ||= ONE_LOCATION + '/share/gems'
end
Gem.use_paths(GEMS_LOCATION) if File.directory?(GEMS_LOCATION)
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION
$LOAD_PATH << File.dirname(__FILE__)

View File

@ -30,7 +30,10 @@ else
GEMS_LOCATION ||= ONE_LOCATION + '/share/gems'
end
Gem.use_paths(GEMS_LOCATION) if File.directory?(GEMS_LOCATION)
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION
$LOAD_PATH << File.dirname(__FILE__)

View File

@ -30,7 +30,10 @@ else
GEMS_LOCATION ||= ONE_LOCATION + '/share/gems'
end
Gem.use_paths(GEMS_LOCATION) if File.directory?(GEMS_LOCATION)
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION
$LOAD_PATH << File.dirname(__FILE__)

View File

@ -30,7 +30,10 @@ else
GEMS_LOCATION ||= ONE_LOCATION + '/share/gems'
end
Gem.use_paths(GEMS_LOCATION) if File.directory?(GEMS_LOCATION)
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION
$LOAD_PATH << File.dirname(__FILE__)

View File

@ -30,7 +30,10 @@ else
GEMS_LOCATION ||= ONE_LOCATION + '/share/gems'
end
Gem.use_paths(GEMS_LOCATION) if File.directory?(GEMS_LOCATION)
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION
$LOAD_PATH << File.dirname(__FILE__)

View File

@ -30,6 +30,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -28,6 +28,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -39,6 +39,7 @@ CONFIGURATION_FILE = ETC_LOCATION + '/oneflow-server.conf'
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -40,6 +40,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -30,6 +30,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -32,6 +32,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -28,6 +28,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -28,6 +28,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -28,6 +28,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -28,6 +28,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -29,6 +29,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -28,6 +28,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -28,6 +28,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -28,6 +28,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -28,6 +28,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -28,6 +28,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -28,6 +28,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -28,6 +28,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -28,6 +28,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -28,6 +28,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -28,6 +28,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -28,6 +28,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -28,6 +28,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -28,6 +28,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -28,6 +28,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -28,6 +28,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -28,6 +28,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -30,6 +30,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << RUBY_LIB_LOCATION

View File

@ -54,6 +54,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << PACKET_LOCATION

View File

@ -48,6 +48,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << PACKET_LOCATION

View File

@ -61,6 +61,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << PACKET_LOCATION

View File

@ -82,6 +82,7 @@ end
if File.directory?(GEMS_LOCATION)
Gem.use_paths(GEMS_LOCATION)
$LOAD_PATH.reject! {|l| l =~ /(vendor|site)_ruby/ }
end
$LOAD_PATH << PACKET_LOCATION

Some files were not shown because too many files have changed in this diff Show More