fix rake tasks for rails 2