Fix issue 21, drop rails requirement