Sha256: fefa099d97d5e09e58b101329bbc8c38372e339db378f2d6357b5ac6ce5c4723

Contents?: true

Size: 448 Bytes

Versions: 12

Compression:

Stored size: 448 Bytes

Contents

#
# Bundle and rubygems each have their own way of modifying $LOAD_PATH.
#
# We want to make sure that the right paths are loaded, including the
# vendored gems, regardless of how leap is run.
#
#

require File.expand_path('../version', __FILE__)

base_leap_dir = File.expand_path('../../..', __FILE__)
LeapCli::LOAD_PATHS.each do |path|
  path = File.expand_path(path, base_leap_dir)
  $LOAD_PATH.unshift(path) unless $LOAD_PATH.include?(path)
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
leap_cli-1.9.2 lib/leap_cli/load_paths.rb
leap_cli-1.9.1 lib/leap_cli/load_paths.rb
leap_cli-1.9 lib/leap_cli/load_paths.rb
leap_cli-1.8.1 lib/leap_cli/load_paths.rb
leap_cli-1.8 lib/leap_cli/load_paths.rb
leap_cli-1.7.4 lib/leap_cli/load_paths.rb
leap_cli-1.7.3 lib/leap_cli/load_paths.rb
leap_cli-1.6.2 lib/leap_cli/load_paths.rb
leap_cli-1.5.6 lib/leap_cli/load_paths.rb
leap_cli-1.5.1 lib/leap_cli/load_paths.rb
leap_cli-1.5.0 lib/leap_cli/load_paths.rb
leap_cli-1.2.5 lib/leap_cli/load_paths.rb