HEROKU: CLI version 2.3.3 is deprecated for this action, please update and try again

Problem:

$heroku logs
! Logging is not enabled for this app.
! To enable logging: `heroku addons:add logging`

$heroku addons:add logging
-----> Adding logging to tweepromo... failed
!     CLI version 2.3.3 is deprecated for this action, please update and try again.

 

SOLVING...

 

# add heroku repository to apt
echo "deb http://toolbelt.heroku.com/ubuntu ./" > /etc/apt/sources.list.d/heroku.list

# install heroku's release key for package verification

 

wget -O- https://toolbelt.heroku.com/apt/release.key | apt-key add -

# update your sources
apt-get update

# install the toolbelt
apt-get install heroku-toolbelt

sudo gem update heroku