adding environment to the rake task

for the rake task to generate HetsInstance if needed was
missing the environment so we can't create the object
adding rails env to call in deployment
Merge pull request #1119 from ontohub/fix_missing_enviorment_in_rake_task

Fix missing enviorment in rake task