Adds environment rake task