This simply repeats the Cody Cogl commentary above, so itβs easier to find:
either require 'irb/completion' , or add the following to ~/.irbrc
IRB.conf[:AUTO_INDENT] = true IRB.conf[:USE_READLINE] = true IRB.conf[:LOAD_MODULES] = [] unless IRB.conf.key?(:LOAD_MODULES) unless IRB.conf[:LOAD_MODULES].include?('irb/completion') IRB.conf[:LOAD_MODULES] << 'irb/completion' end
John F. Miller Sep 05 '09 at 1:58 2009-09-05 01:58
source share