From: "Peña, Botp" Date: 2007-10-29T18:28:25+09:00 Subject: Re: Ruby and irb From: Paulo Carvalho [mailto:pjcarvalho@gmail.com] # Now instead of executing "irb --noreadline" is there a place # where i can put the "--noreadline" option to be executed always # when irb is called? # # My problem is that, i am debugging an application with the # "breakpoint" # instruction. This instruction opens an irb console. So I # would like that # the irb console to be called automatically with the # noreadline option... # # Do you know how can I make it? maybe, 2 ways 1. modify the irb shellscript (in windows it's a batch file) or 2. create/modify your .irbrc file if you have an existing .irbrc file (it's just a ruby file that irb loads by default if it exists), try putting the ff line (pref at the top) of th irbrc script ARGV.concat["--noreadline"] the second option is more flexible and recommended, imho kind regards -botp