From: Dave Thomas Date: 2000-03-01T16:54:57-06:00 Subject: [ruby-talk:01667] Re: Where do I find an interactive Ruby for WIN & Linux ? "Dat Nguyen" writes: > Wow, thanks. Response to my question comes right after I've just hit > . The following instruction seems unix-oriented, I tried on > WIN/NT, the error message is: > > : No such file to load -- irb/main > > Do I miss something? irb has to be installed. There are instructions in the FAQ. it goes something like (sorry about the sgml): How can I use Ruby interactively?

You can try using irb. The following is paraphrased from Goto Kentaro (Gotoken), and originally appeared in ruby-talk:444. Get the latest tarball of irb from in the Ruby archive. Extract the irb directory tree. Add the location of the irb/ directory to the $RUBYLIB environment variable Make a symbolic link from $RUBYLIB/irb/irb.rb to a file called irb somewhere in your path. chmod +x $RUBYLIB/irb/irb.rb Possibly use rehash to tell your login shell about the new command. Type irb If the readline extension module works with your interpreter, it makes irb 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/