add prepare compile for production.rb