• 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28

Needless to say, we can't live without irb. Although it is already incredibly useful, I had a desire to improve it...

like this:

ss

This is the irb_rocket that I've made. It makes irb into being as follows

  • Result follows blue #=> after your input.
  • It also be colored by Wirble.
  • Output of stderr is colored to red.

INSTALL

You must install Wirble and ruby-terminfo in advance. And then, you can install the plugin like this:

   1  % sudo gem install irb_rocket --source http://merbi.st

After that, the last task is append 2 lines below to your ~/.irbrc

   1  require 'rubygems'
   2  require 'irb_rocket'

Completed! Now you can use new irb as always.

posted by Png takiuchi on Sun 8 Feb 2009 at 17:37 with 4 comments

Comments:

Face elliottcable about 5 years ago.

This appears to be incompatible with Ruby 1.9.1 due to ruby-terminfo: http://gist.github.com/62355

Png Genki Takiuchi about 5 years ago.

Thank you for reporting.

Currently, the ruby-terminfo doesn't work with ruby191. Please wait for the author's upgrading it. I too wanted for it to be usable on ruby191 :-)

Png 瀧内元気 about 5 years ago.

Fixed the ruby-terminfo to be compatible with ruby-1.9.1. (See http://merbi.st/plugins/21)

So now you can use irb_rocket with ruby-1.9.1 :-)

Png 瀧内元気 over 3 years ago.

The merbi.st domain has been expired. So now it is at github and gemcutter.

or Preview
Social Bookmarks
  • Delicious
  • B_entry1284
  • Clip_16_12_w
Services from s21g
twpro(ツイプロ)
Twitterプロフィールを快適検索
地価2009
土地の値段を調べてみよう
MyRestaurant
自分だけのレストラン手帳
Formula
ブログに数式を埋め込める数式コミュニティ