add initialize on precompile=false to config/application.rb