Fix issues with Padrino and Rubinius