Load from root bundler when running from git
This commit is contained in:
parent
1d90d03dd8
commit
3b847696ff
4 changed files with 127 additions and 116 deletions
|
@ -137,7 +137,10 @@ module Middleman
|
|||
instance_eval File.read(local_config), local_config, 1
|
||||
end
|
||||
|
||||
activate(:sprockets) if autoload_sprockets
|
||||
if autoload_sprockets
|
||||
require "middleman-sprockets"
|
||||
activate(:sprockets)
|
||||
end
|
||||
|
||||
run_hook :build_config if build?
|
||||
run_hook :development_config if development?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue