Fix load order
This commit is contained in:
10
beef
10
beef
@@ -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.
|
||||||
#
|
#
|
||||||
|
|||||||
Reference in New Issue
Block a user