среда, 20 января 2010 г.

Commands history in irb

Did You notice, that irb doesn't store commands history? Confusing. But we can fix it!

Here it is: irb-history.

Copy&Past from http://irb-history.rubyforge.org/rdoc/:

It’s a simple process:
Install the gem.
$ gem install irb-history

Start a history server listening on 127.0.0.1, port 26501 (see the irb-history-server documentation for more options).
$ irb-history-server -d

Add three lines to your ~/.irbrc:
require 'rubygems'
require 'irb/history'
IRB::History.start_client



It really ROCKS!!!


Комментарии

технология комментирования HyperComments


2008–2014 © Сергей Удалов Реклама Система Orphus