Avoid some warnings for rake tasks