# Favourite irbrc tips?

**URL:** <https://www.ruby-forum.com/t/favourite-irbrc-tips/174423>\
**Category:** Ruby\
**Created:** [August 26, 2009, 5:44pm UTC](https://www.ruby-forum.com/t/favourite-irbrc-tips/174423 "2009-08-26T17:44:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Martin\_DeMello](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/f17d59/32.png) [@Martin\_DeMello](https://www.ruby-forum.com/u/Martin_DeMello)\
**Post date:** [August 26, 2009, 5:44pm UTC](https://www.ruby-forum.com/t/favourite-irbrc-tips/174423/1 "2009-08-26T17:44:28Z")

</div>

Other than installing wirble, what ought I be doing to enhance my irb  
session?

martin

---

<div class="post-metadata">

**Author:** ![Martin\_DeMello](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/f17d59/32.png) [@Martin\_DeMello](https://www.ruby-forum.com/u/Martin_DeMello)\
**Post date:** [August 26, 2009, 5:51pm UTC](https://www.ruby-forum.com/t/favourite-irbrc-tips/174423/2 "2009-08-26T17:51:30Z")

</div>

On Wed, 26 Aug 2009 21:21:32 +0900  
Martin DeMello [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Other than installing wirble, what ought I be doing to enhance my irb  
> session?

Hi Martin,

Here’s my old list of links… maybe something in there would be useful.

[http://web.archive.org/web/20070103124549rn\_1/wiki.rubygarden.org/Ruby/page/show/Irb/TipsAndTricks](http://web.archive.org/web/20070103124549rn_1/wiki.rubygarden.org/Ruby/page/show/Irb/TipsAndTricks)  
[http://www.ruby-forum.com/topic/84414#new](http://www.ruby-forum.com/topic/84414#new)

> **[err.the\_blog.find\_by\_title('irb Mix Tape')](http://web.archive.org/web/20070823101329/http://errtheblog.com/post/26)**
>
> Err the Blog: Ruby and Rails from the front.

[http://blog.nicksieger.com/articles/2006/04/23/tweaking-irb](http://blog.nicksieger.com/articles/2006/04/23/tweaking-irb)

---

<div class="post-metadata">

**Author:** ![Martin\_DeMello](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/f17d59/32.png) [@Martin\_DeMello](https://www.ruby-forum.com/u/Martin_DeMello)\
**Post date:** [August 26, 2009, 5:55pm UTC](https://www.ruby-forum.com/t/favourite-irbrc-tips/174423/3 "2009-08-26T17:55:02Z")

</div>

On Aug 26, 2009, at 7:21 AM, Martin DeMello wrote:

> Other than installing wirble, what ought I be doing to enhance my  
> irb session?

You might try searching github for irbrc files. A lot of developers  
store their “dotfiles” there now. Here’s my .irbrc, for example:

> <https://github.com/JEG2/dotfiles/blob/914b380ca6977db6d83caeac2f90bfba1d91698d/irbrc>

James Edward G. II

---

<div class="post-metadata">

**Author:** ![Martin\_DeMello](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/f17d59/32.png) [@Martin\_DeMello](https://www.ruby-forum.com/u/Martin_DeMello)\
**Post date:** [August 26, 2009, 6:14pm UTC](https://www.ruby-forum.com/t/favourite-irbrc-tips/174423/4 "2009-08-26T18:14:58Z")

</div>

On Wed, Aug 26, 2009 at 7:54 PM, spiralofhope[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> Here’s my old list of links… maybe something in there would be useful.
> 
> [http://web.archive.org/web/20070103124549rn\_1/wiki.rubygarden.org/Ruby/page/show/Irb/TipsAndTricks](http://web.archive.org/web/20070103124549rn_1/wiki.rubygarden.org/Ruby/page/show/Irb/TipsAndTricks)  
> [My .irbrc for console/irb - Ruby - Ruby-Forum](http://www.ruby-forum.com/topic/84414#new)  
> [http://web.archive.org/web/20070823101329/http://errtheblog.com/post/26](http://web.archive.org/web/20070823101329/http://errtheblog.com/post/26)  
> [http://blog.nicksieger.com/articles/2006/04/23/tweaking-irb](http://blog.nicksieger.com/articles/2006/04/23/tweaking-irb)

Thanks, some good stuff in there

martin

---

<div class="post-metadata">

**Author:** ![Martin\_DeMello](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/f17d59/32.png) [@Martin\_DeMello](https://www.ruby-forum.com/u/Martin_DeMello)\
**Post date:** [August 26, 2009, 9:45pm UTC](https://www.ruby-forum.com/t/favourite-irbrc-tips/174423/5 "2009-08-26T21:45:49Z")

</div>

I’ve written some irb tutorials you might find handy:

> **[Tagaholic - Demystifying Irb's Commands](http://tagaholic.me/2009/05/11/demystifying-irb-commands.html)**
>
> Irb is one of the most commonly used standard ruby libraries, yet most don't seem to know much about it. I've lost count of the number of blog posts that explain some irb "tricks"...

> **[Tagaholic - Exploring How To Configure Irb](http://tagaholic.me/2009/05/29/exploring-how-to-configure-irb.html)**
>
> In my last post we discussed irb's commands. This post goes further into irb's innards, exploring all of its configuration options.

Some irb-related gems I’ve released:

hirb ([Tagaholic - hirb](http://tagaholic.me/hirb/)) - Pretty print ruby objects as  
tables, trees …  
bond ([Tagaholic - bond](http://tagaholic.me/bond/)) - Custom autocompletion for an  
object’s methods, a method’s arguments and more  
alias ([Tagaholic - alias](http://tagaholic.me/alias/)) - Configurable aliasing for  
methods, classes, constants and more

Gabriel
