Some Linux distributions may not have the latest stable version of Asciidoctor packaged immediately after a release of a new gem. If you need to upgrade to the latest version immediately, use gem install instead of the package manager.
|Your Linux system may be configured to automatically update packages, in which case the latest Asciidoctor package will be installed as soon as it becomes available. No further action is required by you.|
On Debian and Debian-based distributions, update the Asciidoctor package using:
$ sudo apt-get upgrade -y asciidoctor
To upgrade the gem, open a terminal and type:
$ brew update $ brew upgrade asciidoctor
You’re advised against using the
If you want to use a version of Asciidoctor that is newer than what is installed by the package manager, you should use RVM to install Ruby in your home directory (i.e., user space).
Then, you can safely use the
You can upgrade Asciidoctor using the gem
$ gem update asciidoctor
If you accidentally use
$ gem cleanup asciidoctor