diff --git a/lib/active_file/site.rb b/lib/active_file/site.rb index 260b84ab88..fc098e694f 100644 --- a/lib/active_file/site.rb +++ b/lib/active_file/site.rb @@ -4,6 +4,8 @@ class ActiveFile::Site begin require "active_file/site/#{site.to_s.downcase}_site" ActiveFile::Site.const_get(:"#{site}Site").new(**options) + rescue LoadError + puts "Couldn't configure unknow site: #{site}" end end