What is Ruby?

Ruby is a dynamic programming language. On TurboStack it runs as an isolated per-user runtime behind the Nginx reverse proxy.

Ruby is a dynamic, object-oriented programming language designed for developer productivity and readable code. It is widely used for web applications, especially through frameworks such as Ruby on Rails, as well as for tooling and automation.

On a hosting platform, a Ruby web application runs as a long-lived process served by an application server. A web server accepts public HTTPS traffic and forwards requests to that process. Your code does not handle Transport Layer Security (TLS) or public networking directly.

On TurboStack

TurboStack provides Ruby as a per-application runtime, isolated per system user. You enable it on an application and select the version your application needs, so each user's Ruby installation stays independent from the others on the same host.

Ruby applications run behind Nginx acting as a reverse proxy: your app listens on a local port and Nginx terminates TLS and forwards traffic to it. You can define the command that starts your application, and you can optionally run Sidekiq alongside it to process background jobs.

Best practices

  • Pin a specific Ruby version so deployments are reproducible, and plan upgrades before a version reaches end of life.
  • Use a defined startup command so the platform always launches your application the same way.
  • Offload long-running or scheduled work to Sidekiq background jobs instead of handling them in web requests.
  • Serve your app with a production application server and let Nginx handle public TLS traffic.
  • Keep gems up to date and audit them regularly for security advisories.