Skip to content

Instantly share code, notes, and snippets.

@benjaminoakes
Created September 7, 2011 16:36
Show Gist options
  • Save benjaminoakes/1201052 to your computer and use it in GitHub Desktop.
Save benjaminoakes/1201052 to your computer and use it in GitHub Desktop.
Padrino console on Heroku
$ heroku console
Ruby console for myapp.heroku.com
>> var_that_does_not_exist
! Internal server error
>>
$ heroku run bundle exec padrino console -e production
Running bundle exec padrino console -e production attached to terminal... up, run.9
=> Loading production console (Padrino v.0.10.1)
=> Loading Application MyApp
=> Loading Application Admin
irb(main):001:0> var_that_does_not_exist
NameError: undefined local variable or method `var_that_does_not_exist' for main:Object
from (irb):1
irb(main):002:0>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment