add sync precompile fix to application.rb lines 10 and 11