rails 3 compatibility
make Rakefile compatible with newer rakes