diff --git a/app/models/package.rb b/app/models/package.rb index cd46d5929..098410d7a 100644 --- a/app/models/package.rb +++ b/app/models/package.rb @@ -308,7 +308,11 @@ class Package < ApplicationModel ['app', 'lib'].each {|dir| Dir.glob( Rails.root.join( dir + '/**/*') ).each {|entry| if entry =~ /\.rb$/ - load entry + begin + load entry + rescue => e + puts 'ERROR: ' + e.inspect + end end } }