added compile to application.rb