Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seems to disable hirb #6

Open
thams opened this issue May 24, 2012 · 1 comment
Open

Seems to disable hirb #6

thams opened this issue May 24, 2012 · 1 comment

Comments

@thams
Copy link

thams commented May 24, 2012

When I require utility_belt, either before or after requiring hirb, hirb no longer functions... at least, the defaults of showing ActiveRecord objects nicely. (can still force hirb by doing "table User.all")

Using latest utility_belt and Hirb 0.6.2 or Hirb 0.4.5

@gilesbowkett
Copy link
Owner

I haven't really done a lot to maintain this gem, so there's a chance you might see better results with one of the forks, in particular Fabio Akita's, or Jon Trupiano's (which he re-named flyrb). however, you might not, and either way, I'm open to pull requests.

here's my best guess. first, Utility Belt sets a few IRB constants, and it's possible that hirb sets these constants also, but sets them to different values. I would especially suspect this to be the case if you saw better results requiring hirb after UB than you did requiring hirb before UB.

Second, UB monkey-patches IRB a little, and those monkey-patches may interfere with functionality hirb expects. It could also be a situation where both IRB and hirb monkey-patch the same thing in different ways.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants