Fix the environment rake task for 1.9
Thanks @bradleyd for pointing this out