Console Sessions on Bamboo

Last Updated: 12 January 2015


This article applies to apps on the Bamboo stack. For the most recent stack, Cedar, see one-off dynos.

You can run console sessions on Bamboo apps using one-off dynos via heroku run. For example:

$ heroku run -a my-app ruby script/rails console
Running `script/rails console` attached to terminal... up, run.1

The appropriate command for your app will depend on what framework you use. Common console commands for Bamboo include script/rails console for Rails apps, script/console for older Rails versions, and irb for general Ruby apps.