Try to fix running rake tasks.