Articles on Ruby
7 months ago
This article explains how to configure Bundler. 1 year ago
Understand your application's memory usage
Ruby applications should gracefully shut down when a dyno shuts down, or is restarted. Sensitive operations should be wrapped in an `ensure` clause, though care must be taken to have this clause terminate.
Cedar-14, the successor to the Cedar stack, runs on a newer operating system. Certain versions of Ruby 2.1 are not able to compile on Cedar-14 and they will not be available.
Configuring a database connection in Rails using database.yml and DATABASE_URL.
2 years ago
A step-by-step guide for deploying your first Ruby app and mastering the basics of Heroku
Why not to run WEBrick in production, and how to run a production web server instead.
When and how to use Rails environments and Heroku config vars, when deploying apps.
Create a pool of worker processes to better maximize the resources of a worker dyno.
3 years ago
A tutorial showing how to build and deploy a Ruby Sinatra application application that uses a WebSocket.
Creating, configuring, deploying and scaling Rails 4.x applications on Heroku, using Bundler dependency management.
Configuring database connections in the Active Record connection pool for apps running with a multi-threaded or multi-process web server.
How to convert an existing Rails project that works on Heroku to run on JRuby.
4 years ago
Create, configure, deploy and scale a Ruby application on Heroku.
The Cedar stack is the most recent stack on Heroku, providing a PaaS supporting multiple languages, flexible process types, HTTP 1.1 and more.