hacks to get things to work when running rails s