Fix load order

This commit is contained in:
Brendan Coles
2019-03-06 07:24:01 +00:00
parent d698b6a0ba
commit 46d82dc8b8

10
beef
View File

@@ -38,6 +38,11 @@ $root_dir = File.join(File.expand_path(File.dirname(File.realpath(__FILE__))), '
$:.unshift($root_dir) $:.unshift($root_dir)
$home_dir = File.expand_path("#{Dir.home}/.beef/", __FILE__).freeze $home_dir = File.expand_path("#{Dir.home}/.beef/", __FILE__).freeze
#
# @note Require core loader
#
require 'core/loader'
# #
# @note Create ~/.beef/ # @note Create ~/.beef/
# #
@@ -48,11 +53,6 @@ rescue => e
exit 1 exit 1
end end
#
# @note Require core loader's
#
require 'core/loader'
# #
# @note Initialize the Configuration object. Loads a different config.yaml if -c flag was passed. # @note Initialize the Configuration object. Loads a different config.yaml if -c flag was passed.
# #