Allow Ruby version to be specified per app

Sure! If you’re dealing with multiple apps in a monorepo on Render and need different Ruby versions, it can be tricky because Render picks up the Ruby version from a single .ruby-version file in the root of your repo. Here are some ways to handle it:

  1. Use Docker: Create Dockerfiles for each app with the desired Ruby version specified. Render supports deploying Docker containers, giving you control over the environment.
  2. Environment Variables/Configuration: Set up each app to read the required Ruby version from environment variables or configuration files. Adjust the app’s behavior based on this information.
  3. Feature Request: Request Render to add native support for specifying Ruby versions, similar to how they support Node.js versions.
    https://community.render.com/t/specify-npm-version/944/ruby on rails

I hope this will help you.