(fix) rails workdir for rake tasks