Try to avoid *nix double load issue again
This commit is contained in:
parent
fd3d9b206f
commit
14104aad70
|
@ -8,9 +8,10 @@ $LOAD_PATH.unshift(libdir) unless $LOAD_PATH.include?(libdir)
|
||||||
module Middleman
|
module Middleman
|
||||||
# Backwards compatibility namespace
|
# Backwards compatibility namespace
|
||||||
module Features; end
|
module Features; end
|
||||||
|
|
||||||
|
autoload :Application, 'middleman-core/application'
|
||||||
end
|
end
|
||||||
|
|
||||||
require 'middleman-core/version'
|
require 'middleman-core/version'
|
||||||
require 'middleman-core/util'
|
require 'middleman-core/util'
|
||||||
require 'middleman-core/extensions'
|
require 'middleman-core/extensions'
|
||||||
require 'middleman-core/application' unless defined?(::Middleman::Application)
|
|
||||||
|
|
Loading…
Reference in a new issue