fix env dependencies so that 'rake' works in dev and test