ImageMagick Install Fails during Dev Installation on Ubuntu 22.04.1

In the install guide It tells you to run:

bash <(wget -qO- https://raw.githubusercontent.com/discourse/install-rails/master/linux)

On Ubuntu 22.04.1 the install fails with:

E: Unable to locate package libwebp6

The solution is to change it to libwebp7 in the script, but it is annoying to download and edit the two scripts. Could Ubuntu 22.04.1 be supported in the script?

A post was merged into an existing topic: Install Discourse on Ubuntu for Development