Set rails env so that rake task load correct env