#3334 - Updates heroku installation comamnd to use latest Heroku stack (heroku-22). Also fixes a reference to the .exists? alias, which is missing in ruby 3.2.2.