IRB rockets and colors
Introducing the fancy_irb
gem:
- Use fancy colors! You can colorize the prompts, irb errors, stderr and stdout
- Output results as Ruby comments
- Enhance your output value using procs
I really like the irb_rocket gem, which outputs the IRB evaluation results as comments and colorizes errors. Unfortunately, the implementation leads to bugs, because it tries to run the whole command before printing anything to stdout. For this reason, I’ve rewritten (and extended) it so it’s now compatible with other great gems like hirb, interactive_editor and so on.
You can try it with gem install fancy_irb
and FancyIrb.start
or by updating irbtools
.
More IRB action later this month :)