Try to avoid *nix double load issue again

This commit is contained in:
Thomas Reynolds 2015-02-17 09:39:59 -08:00
parent fd3d9b206f
commit 14104aad70

View file

@ -8,9 +8,10 @@ $LOAD_PATH.unshift(libdir) unless $LOAD_PATH.include?(libdir)
module Middleman
# Backwards compatibility namespace
module Features; end
autoload :Application, 'middleman-core/application'
end
require 'middleman-core/version'
require 'middleman-core/util'
require 'middleman-core/extensions'
require 'middleman-core/application' unless defined?(::Middleman::Application)