Fix config.ru file and wrap app class in module