fix for #3 rake tasks can be used in Rails