Migrating Rails app from Heroku to Render, Can I disable Yarn?

I am in the process of migrating from Rails app from Heroku to Render. In Rails, we have to set YARN_PRODUCTION = false in the environment variables to stop the yarn buildpack from running. Is there a similar option in Render?

Hi there,

Thanks for reaching out.

If you’re using a Render Native Environment nothing will be run by default, only the commands you set in the Build Command will be run on build. Our Rails guide includes an example build script for a typical Rails app, which can then be referenced as the Build Command on the service.

If I’ve misunderstood your question, please elaborate on your issue in as much detail as possible, e.g. any logs/error messages, reproduction steps, screenshots, etc. to show the problem you’re experiencing.



This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.