lib/chutney.rb in chutney-3.0.0.beta.1 vs lib/chutney.rb in chutney-3.0.0.beta.2
- old
+ new
@@ -58,10 +58,10 @@
@files = files
@results = Hash.new { |h, k| h[k] = [] }
i18n_paths = Dir[File.expand_path(File.join(__dir__, 'config/locales')) + '/*.yml']
return if I18n.load_path.include?(i18n_paths)
- I18n.load_path << i18n_paths
+ I18n.load_path += i18n_paths
end
def configuration
unless @config
default_file = [File.expand_path('..', __dir__), '**/config', 'chutney.yml']