Search overlay panel for performing site-wide searches
Deep-dive on the Next Gen Platform. Join the Webinar!
A stylized pink diamond shape with a circular top and faceted sides.

Build Rails web apps and Ruby back-ends on the leading PaaS

Why Ruby and Rails on Heroku?

Leader in Ruby on PaaS

Heroku pioneered Ruby on a PaaS and we continue to innovate the developer experience with pipelines for continuous delivery from GitHub, and Docker support for dev/prod parity. Ruby developers get same day Ruby release support for MRI and the ability to run Ruby on the JVM with JRuby support. We are dedicated to supporting the Ruby community and employ four Ruby-language core team members, including Matz, the creator of Ruby.

Optimized build and migration workflow

Heroku caches assets between deploys for faster builds. Use one-off dynos to run rake:db migrate for database migration operations, or attach a Rails console to easily inspect and debug live apps. Preboot lets you deploy a new release to your web dynos and have them receive traffic before terminating existing ones, which can contribute to zero downtime deployments.

 Runtime and framework support

Run web apps using Rails, Sinatra and Rack, and coordinate Ruby backend workers using your choice of queuing system, including Sidekiq. Handle concurrent web requests using a single dyno and mitigate slow clients with Puma. Heroku Postgres is database as a service, optimized for developers, with JSONB support for fast semi-structured data access.

Get started now with Ruby on Heroku

require ‘hello_world’

  • bundle init initializes our Ruby project
  • Specify our Ruby version and Rack dependency
  • Respond to requests with “Hello World”
  • Provision an app with heroku create
  • We’re live! curl sleepy-tor-2813.herokuapp.com
View the Docs

Heroku gives you simple, easy ways to…

Deploy

Heroku pioneered Ruby on a PaaS and we continue to innovate the developer experience with pipelines for continuous delivery from GitHub, and Docker support for dev/prod parity. Ruby developers get same day Ruby release support for MRI and the ability to run Ruby on the JVM with JRuby support. We are dedicated to supporting the Ruby community and employ four Ruby-language core team members, including Matz, the creator of Ruby.

Heroku’s Ruby Support Docs

Manage

Manage your app portfolio in a straightforward dashboard or with a CLI. Extend your apps with more than 200 fully managed add-ons for a range of functionality such as data stores, logging, and more. Provisioning an add-on is as simple as heroku addons:create papertrail. You can just as easily add Heroku Postgres.

Heroku’s Add-ons Docs

Scale

Heroku’s horizontally scalable, share-nothing architecture is designed for building services in today’s world of containerized applications. Use App Metrics to monitor CPU, throughput, and memory so you know when to scale. Scale out your Ruby app’s web dynos with a single CLI command or by dragging a slider in the Heroku Dashboard.

How to scale dynos

A red gemstone icon with a glossy finish and multiple facets.

Ruby on Heroku

“Ruby gave us developer happiness and Rails gave us convention over configuration. Heroku gives you a first class experience while deploying and running your Ruby apps.”

A person with a beard and short brown hair smiles at the camera. The background features a blurred swirl pattern.

Richard Schnmeeman

Ruby Language Owner

Popular Add-ons

Add-ons are fully-managed services, integrated for use with Heroku, which provide services for logging, caching, monitoring, persistence and more. View All Add-ons

Heroku Postgres

Data Stores

A geometric design with interlocking green and dark gray rectangular shapes forming a 3D-like structure on a white background.

New Relic APM

Monitoring

Redis logo with the name in white cursive text on an orange-red background.

Redis Cloud

Data Stores

Papertrail logo

Papertrail

Logging

Blue logo with a stylized lowercase "d" beside a small dot on the lower right.

Librato

Monitoring

Popular Buttons

Heroku Buttons let you one-click provision, configure and deploy applications to Heroku.
View All Buttons

Errbit

105 Recent Deploys

An illustrated icon of a light blue airline ticket with a barcode and an airplane symbol.

TestFlight boarding

73 Recent Deploys

Camalon Cms Logo

Camalon CMS

57 Recent Deploys

A solid black square image.

pgweb

872 Recent Deploys

trebekbot

93 Recent Deploys

Abstract pink and purple digital artwork with irregular shapes and lines, creating a vertical pattern.

Download our Ruby haiku illustration

Enjoy the Heroku-created Ruby haiku illustration wallpaper for your desktop, tablet, and mobile screens.

Ready to Get Started?

Stay focused on building great data-driven applications and let Heroku tackle the rest.

Sign Up Now