Merge pull request #1251 from railsbros-dirk/fix-middleman-init-command

CLI: Always require 'middleman-core/version'
This commit is contained in:
Thomas Reynolds 2014-04-07 09:48:48 -07:00
commit 4c9af0e07d

View file

@ -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'