vasudevram
6/26/2007 12:07:00 PM
On Jun 14, 8:10 am, Nobuyoshi Nakada <n...@ruby-lang.org> wrote:
> Hi,
>
> At Thu, 14 Jun 2007 04:25:02 +0900,
> vasudevram wrote in [ruby-talk:255512]:
>
> > But sorry, this won't help you if you want to run IRB from the command
> > line - from a DOS command prompy, that is. You'll have to double-click
> > on the shortcut on the Desktop for this technique to work.
>
> ruby -C "somewhere you want" -S irb
>
> or
>
> ruby -C "somewhere you want" -rirb -e IRB.start
>
> --
> Nobu Nakada
Cool, didn't know that, thanks. Good thing I came back to look at this
post ... :). Guess that implies that you can pass any Ruby command-
line option to irb using this method of invoking it.
Vasudev