• 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:

pre>>
% sudo gem install irb_rocket --source http://merbi.st
<<--

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

ruby>>
require 'rubygems'
require 'irb_rocket'
<<--

Completed!
Now you can use new irb as always.

posted by takiuchi takiuchi on Sun 8 Feb 2009 at 17:15 with 4 comments
elliottcable elliottcable 02/12 08:18
This appears to be incompatible with Ruby 1.9.1 due to ruby-terminfo: http://gist.github.com/62355
Genki Takiuchi Genki Takiuchi 02/13 08:47
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 :-)
瀧内元気 瀧内元気 02/13 16:09
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 :-)
瀧内元気 瀧内元気 01/03 17:25
The merbi.st domain has been expired.
So now it is at github and gemcutter.
Contents rssrss
Google +1 button causes trouble with Amazon ELB
How to build collada-dom on Linux
cmakeをhomeの下にインストールする手順のメモ
原子レベルのレンダリングに関するメモ
gluLookAtの等価表現
Where the Fl_Gl_Box is / Fl_Gl_Boxのありか
How to display the list of options for CMake
How to install collada-dom to MacOS X
積分方程式の分類について
Terminology of parallel computing needs recomposition
Tags
memocmakecolladaopengl3Damazonatomiccgcomputingdnselbfltkgoogleissuemacmathparallelreportthoughtsメモ
Comments rssrss
Spencer Spencer: You don't have to re-compile it, this version work... 04/08 07:15
staiano staiano: Any chance we can get a recompile for 10.9? 01/10 01:47
falsefalse falsefalse: @tiancongxin try using this one https://github.com... 02/14 08:04
tiancongxin tiancongxin: TerminalCopyOnSelect not work on OS X 'Lion' , cou... 07/21 17:21
staiano staiano: Roderick you rock for recompiling it. Thanks. 03/25 02:42
瀧内元気 瀧内元気: The merbi.st domain has been expired. So now it is... 01/03 17:25
Roderick Roderick: I've compiled the current version from github, thi... 08/24 15:57
swissarmychainsaw swissarmychainsaw: How do I get around this error message? Error Term... 08/20 20:43
Services from s21g
YOMU Web小説リーダー
小説投稿サイトの公式ページを開き、WebView表示と読み上げ向け表示を切り替えて、移動中や作業中にもWeb小説の続きを聴きやすくするiPhoneアプリです。
補助探
公開されている補助金・助成金情報を集約し、条件に合う制度を探しやすくするサービスです。
jotter.me
個人開発者のためのホスティング一体型ノートサービス
ハンドミラー
iPhone向けの手鏡アプリ
ツイプロ(twpro)
Twitterプロフィールの高速検索エンジン