Rubocop: Style/SpecialGlobalVars

- Prefer $LOAD_PATH over $:
This commit is contained in:
Pat Hawks 2016-01-03 15:29:49 -08:00
parent 8223ebd861
commit 6550867051
No known key found for this signature in database
GPG Key ID: F1746FF5F18B3D1B
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
#!/usr/bin/env ruby #!/usr/bin/env ruby
STDOUT.sync = true STDOUT.sync = true
$:.unshift File.join(File.dirname(__FILE__), *%w{ .. lib }) $LOAD_PATH.unshift File.join(File.dirname(__FILE__), *%w{ .. lib })
require 'jekyll' require 'jekyll'
require 'mercenary' require 'mercenary'

View File

@ -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. # Require all of the Ruby files in the given directory.
# #