Articles on Ruby
3 days ago
Due to limitations in our Buildpack release API the Ruby buildpack can only add an add-on to an application on the first deploy. By default the Ruby buildpack will add the cheapest free Postgresql plan to any Ruby apps that 1 month ago
This article explains how to configure Bundler. 3 months ago
Creating, configuring, deploying and scaling Rails 5.x applications on Heroku, using Bundler dependency management. 7 months ago
Don't use the Asset Sync gem. Instead, use a CDN.
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.
9 months ago
Configuring a database connection in Rails using database.yml and DATABASE_URL. 1 year ago
A step-by-step guide for deploying your first Ruby app and mastering the basics of Heroku
How to add direct S3 uploads to a Rails app.
2 years ago
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.
A tutorial showing how to build and deploy a Ruby Sinatra application application that uses a WebSocket.
4 years ago
Run rake commands on Heroku with `heroku run rake`.
Creating, configuring, deploying and scaling Rails 3.x applications on Heroku, using Bundler dependency management.
Heroku does not support the use of Rack::Sendfile and its use will cause file downloads to fail.
Add the MemCachier Add-on to a Rails application to easily cache data with memcache and improve performance.
Constructing a Rails application that uses the Heroku Pusher add-on to subscribe to in-app notifications over a WebSocket.
Config.ru settings for deploying Rack-based apps, such as Sinatra, Camping and Ramaze, to Heroku.
Configure and run Delayed Job background workers.
Create, configure, deploy and scale a Ruby application on Heroku.
Page, action, fragment and low level caching considerations when building Rails applications on Heroku.