Serve static assets and add rails factor for production