diff options
author | elijah <elijah@riseup.net> | 2013-02-28 19:50:53 -0800 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2013-02-28 19:50:53 -0800 |
commit | e9a8318dc42146209e4acecc93c4ff62ab6feb7c (patch) | |
tree | 4fb6cef95626b708e04b6da93c7b0be7f0fe5718 /bin | |
parent | 56a42b9858058473a07f254c49d0bb00dadce2d9 (diff) | |
download | leap_cli-e9a8318dc42146209e4acecc93c4ff62ab6feb7c.tar.gz leap_cli-e9a8318dc42146209e4acecc93c4ff62ab6feb7c.tar.bz2 |
clean up include paths, require newer rake version.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/leap | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -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 |