Little bit cleaned up. Dry in rake tasks. Fix $LOAD_PATH

This commit is contained in:
Alexey Pokhozhaev 2015-10-02 15:12:13 +03:00
parent 8292bc9899
commit 3a7848da9e
14 changed files with 22 additions and 43 deletions

View file

@ -1,9 +1,5 @@
# rubocop:disable FileName
# Setup our load paths
libdir = File.expand_path(File.dirname(__FILE__))
$LOAD_PATH.unshift(libdir) unless $LOAD_PATH.include?(libdir)
# Top-level Middleman namespace
module Middleman
# Backwards compatibility namespace