Reputation: 3095
I have an app deployed on Heroku. I can access the remote heroku console from my local computer via the command:
heroku console
I have the Hirb gem installed in my app by putting Hirb in my gemfile, I am able to but cannot get any of the Hirb formatting to show up.
In Heroku console, I can run:
Hirb.enable
and in return, get
=> true
But when I run User.all
I don't get a table in return, just the old unformatted records. Is there anyway to get Hirb working on Heroku console?
Upvotes: 2
Views: 569
Reputation: 2485
There is a workaround described in a GitHub issue at https://github.com/cldwalker/hirb/issuesearch?state=closed&q=heroku#issue/37
Upvotes: 1