aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/leap6
1 files changed, 1 insertions, 5 deletions
diff --git a/bin/leap b/bin/leap
index d711dfe..683959a 100755
--- a/bin/leap
+++ b/bin/leap
@@ -15,11 +15,7 @@ rescue LoadError
#
require 'rubygems'
base_dir = File.expand_path('..', File.dirname(File.symlink?(__FILE__) ? File.readlink(__FILE__) : __FILE__))
- require File.join([base_dir, 'lib','leap_cli','version.rb'])
- LeapCli::REQUIRE_PATHS.each do |path|
- path = File.expand_path(path, base_dir)
- $LOAD_PATH.unshift path unless $LOAD_PATH.include?(path)
- end
+ require File.join(base_dir, 'lib','leap_cli','load_paths')
require 'leap_cli'
end