A platform for community discussion. Free, open, simple.
FIX: Add additional rescue for assets:precompile
David Taylorbc52437153ad
diff --git a/lib/tasks/assets.rake b/lib/tasks/assets.rakeindex 0e2c6525dfe..2815f4440c5 100644--- a/lib/tasks/assets.rake+++ b/lib/tasks/assets.rake@@ -58,7 +58,7 @@ task 'assets:precompile:css' => 'environment' doSTDERR.puts "Compiling css for #{db} #{Time.zone.now}"beginStylesheet::Manager.precompile_css- rescue PG::UndefinedColumn => e+ rescue PG::UndefinedColumn, ActiveModel::MissingAttributeError => eSTDERR.puts "#{e.class} #{e.message}: #{e.backtrace.join("\n")}"STDERR.puts "Skipping precompilation of CSS cause schema is old, you are precompiling prior to running migrations."end