resolved rake issues when running from a system command.