aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2013-02-28 19:50:53 -0800
committerelijah <elijah@riseup.net>2013-02-28 19:50:53 -0800
commite9a8318dc42146209e4acecc93c4ff62ab6feb7c (patch)
tree4fb6cef95626b708e04b6da93c7b0be7f0fe5718 /bin
parent56a42b9858058473a07f254c49d0bb00dadce2d9 (diff)
downloadleap_cli-e9a8318dc42146209e4acecc93c4ff62ab6feb7c.tar.gz
leap_cli-e9a8318dc42146209e4acecc93c4ff62ab6feb7c.tar.bz2
clean up include paths, require newer rake version.
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