From: "Michael R." Date: 2010-02-03T09:12:49+09:00 Subject: Re: Errno::ENOENT: No such file or directory - --readline TomTom III wrote: > AHH! THAT'S IT! > > I ran the command: > $ find / -xdev -type f -exec grep -l readline {} \; > ... then checked all the files it indicated contained the word > "readline" inside, and found a file (which I did not create), named > ".irbrc", which contains (among other things), the lines: > # Prompt behavior > ARGV.concat [ "--readline", "--prompt-mode", "simple" ] > > When I renamed that file, my irb sessions began to work correctly! > > Thanks for the help. I doubt I would have found it without the tips in > the right direction! Thank you. That seems to be what caused my problem. I deleted the .irbrc (it was a link on my system), and irb works correctly. The date stamp on the files seems to be when I installed some vi/vim enhancement, (I do not recall the package name). Have you installed any vi or vim packages recently? -- Posted via http://www.ruby-forum.com/.