Heroku error [Ruby environment not found]

Hello! I translate using Deepl.

I have created a review app and am currently using Heroku to deploy it for the Shopify app review.

one error prevented me from doing anything, so I contacted the community to inquire.

The error is shown here.

The error about the Ruby environment not being found is strange.
This is because Ruby is installed on your computer.

スクリーンショット 2022-12-15 160322.png

It is not the latest version, but it is not that much of a problem.
The only answers I could find were to install Ruby, pass paths, etc.
I appreciate your help in advance.
Thanks in advance.

Describe your environment version

ShopifyCLI: 2.32.1

Node.js: v18.12.1

Ruby: 3.1.2p20

npm:8.19.2

Now I also have the same problem. Could you show solution with me please? @daikussi

Hello, had the exact same problem, and solve it, in the following way:

  1. Update node.
    2)Use the previous version to install. As an example, I installed the latest version of Ruby+Devkit 3.2.1-1 (x64) and got an error with it, then I deleted it and installed the previous one: Ruby+Devkit 3.1.3-1 (x64) and everything worked perfectly after a reboot.