lib/madvertise/boot.rb in madvertise-ext-0.6.4 vs lib/madvertise/boot.rb in madvertise-ext-0.6.5
- old
+ new
@@ -47,10 +47,10 @@
end
reload_mixins = ->(conf) do
if defined?(ROOT)
config_yml = File.join(ROOT, 'config.yml')
- conf.mixin(config_yml)
+ conf.mixin(config_yml) if File.exist?(config_yml)
dot_user = File.join(ROOT, '.user')
if File.exists?(dot_user)
File.readlines(dot_user).each do |line|