Make specs/library run with rails 2