Fixing rake tasks for CI