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
Couldn't load the irb library 'hirb' / 'ap': LoadError #21
Comments
Hi js-coder, sorry for the late answer. Do you still experience these problems? Did you try to reinstall all hirb versions? Does irbtools work properly outside of bundled environments? |
Yep.
I'm not sure, how would I do that?
Nope, I get the exact same output when requiring irbtools. |
When doing On the other hand, does it work in a bundled environment (without the anti bundler hack in your irbrc)? |
Yeah, I removed all hirb versions, but I didn't reinstall all of those, just the newest one. That sounds like it might be causing a problem, but how do I found out what versions I need?
Sorry for all the questions, but what anti bundler hack? |
Sorry for not explaining: Since some weeks, the readme explains how to run irbtools in bundler environments without having to put it in the Gemfile (https://github.com/janlelis/irbtools/#rails-notes). I just want ensure that you are not using it to except it as a source for the problem. Can please also you check if |
Putting that hack into my ~/.irbrc didn't help, I don't get any error but it doesn't seem to load irbtools,
Yep, it does. |
OK, please remove the bundler hack from your Which OS do you use? Are you using RVM to manage rubies? If so, dose the error also show up in another Ruby version? |
Ubuntu 12.04, RVM and Ruby 1.9.3. Since irbtools doesn't work on 1.8.7 I installed Ruby 1.9.2, so I didn't have any gems installed there and installed irbtools on 1.9.2. It works perfectly. :) |
Today I had a similiar problem with rspec and I've decided to remove all gems from 1.9.3 and reinstall again what I need. irbtools works perfectly now. :) Thanks for your help and irbtools! |
So, today I was learning a bit more about bundler, and I tried
bundle clean
, thinking that it would show me the gems before removing them, and before I hit Ctrl+C to cancel, it removed a few gems.Now, when I open irb, which requires irbtools:
I reinstalled hirb and awesome_print, but the error still occurs.
I also tried reinstalling irbtools. Looks like I broke something. :/ I don't want to stop using irbtools, since I like it a lot. Can someone tell me what I could try to fix this?
The text was updated successfully, but these errors were encountered: