place website files in root during production build, and fix ruby errors