Fix $LOAD_PATH
This commit is contained in:
4
beef
4
beef
@@ -17,8 +17,8 @@ if RUBY_VERSION < '2.2'
|
||||
exit 1
|
||||
end
|
||||
|
||||
$:.unshift(File.join(File.expand_path(File.dirname(__FILE__)), '.'))
|
||||
$root_dir = File.expand_path('..', __FILE__)
|
||||
$root_dir = File.join(File.expand_path(File.dirname(File.realpath(__FILE__))), '.')
|
||||
$:.unshift($root_dir)
|
||||
$home_dir = File.expand_path('~/.beef', __FILE__).freeze
|
||||
|
||||
# @note Require core loader's
|
||||
|
||||
Reference in New Issue
Block a user