Rubocop: Style/SpecialGlobalVars
- Prefer $LOAD_PATH over $:
This commit is contained in:
parent
8223ebd861
commit
6550867051
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/env ruby
|
||||
STDOUT.sync = true
|
||||
|
||||
$:.unshift File.join(File.dirname(__FILE__), *%w{ .. lib })
|
||||
$LOAD_PATH.unshift File.join(File.dirname(__FILE__), *%w{ .. lib })
|
||||
|
||||
require 'jekyll'
|
||||
require 'mercenary'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
$:.unshift File.dirname(__FILE__) # For use/testing when no gem is installed
|
||||
$LOAD_PATH.unshift File.dirname(__FILE__) # For use/testing when no gem is installed
|
||||
|
||||
# Require all of the Ruby files in the given directory.
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue