Console Sessions on Bamboo

Last Updated: 19 March 2014

bamboo

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
irb(main):001:0>

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.