Update `bin/setup` script to avoid rake errors

In some situations we see errors due to a missing env variables
needed by Rails to bootstrap.
Setting `.env` file before calling `rake` fix it