"Dat Nguyen" <thucdat / hotmail.com> writes: > Wow, thanks. Response to my question comes right after I've just hit > <Return>. The following instruction seems unix-oriented, I tried on > WIN/NT, the error message is: > > : No such file to load -- irb/main <Load Error> > > Do I miss something? irb has to be installed. There are instructions in the FAQ. it goes something like (sorry about the sgml): <sect1>How can I use Ruby interactively? <p> You can try using <tt>irb</tt>. The following is paraphrased from Goto Kentaro (Gotoken), and originally appeared in ruby-talk:444. <enum> <item>Get the latest tarball of irb from <url url="ftp://ftp.netlab.co.jp/pub/lang/ruby/contrib/" name="the contrib directory"> in the Ruby archive. <item>Extract the <tt>irb</tt> directory tree. <item>Add the location of the <tt>irb/</tt> directory to the $RUBYLIB environment variable <item>Make a symbolic link from $RUBYLIB/irb/irb.rb to a file called <tt>irb</tt> somewhere in your path. <item><tt>chmod +x $RUBYLIB/irb/irb.rb</tt> <item>Possibly use <tt>rehash</tt> to tell your login shell about the new command. <item>Type <tt>irb</tt> </enum> If the <tt>readline</tt> extension module works with your interpreter, it makes <tt>irb</tt> a lot more fun to use. -- Thomas Consulting. Innovative and successful developments with Unix, Java, C, and C++. Now in bookstores: The Pragmatic Programmer. www.pragmaticprogrammer.com/ppbook/