Merge pull request #1251 from railsbros-dirk/fix-middleman-init-command
CLI: Always require 'middleman-core/version'
This commit is contained in:
commit
4c9af0e07d
1 changed files with 3 additions and 1 deletions
|
@ -25,7 +25,6 @@ module Middleman
|
|||
|
||||
desc 'version', 'Show version'
|
||||
def version
|
||||
require 'middleman-core/version'
|
||||
say "Middleman #{Middleman::VERSION}"
|
||||
end
|
||||
|
||||
|
@ -81,6 +80,9 @@ module Middleman
|
|||
end
|
||||
end
|
||||
|
||||
# Require the Middleman version
|
||||
require 'middleman-core/version'
|
||||
|
||||
# Include the core CLI items
|
||||
require 'middleman-core/cli/init'
|
||||
require 'middleman-core/cli/bundler'
|
||||
|
|
Loading…
Reference in a new issue