More questions regarding .irbrc on Windows

I did not want to kidnap a previous thread on the subject of .irbrc on
Windows.

On my Windows XP SP3, I have 3 Ruby installed.

ruby 1.8.6 (2008-08-11 patchlevel 287) [i386-mswin32]

ruby 1.8.6 (2009-03-31 patchlevel 386) [i386-mingw32]

ruby 1.9.1 (2009-05-12 revision 23412) [i386-mingw32]

A search revealed the absence of any .irbrc file.

Questions:

Is it necessary to have an .irbrc file?
What should it contained?

Thank for any enlightment you may provide.

bbiker

On 10.06.2009 23:17, bbiker wrote:

I did not want to kidnap a previous thread on the subject of .irbrc on
Windows.

On my Windows XP SP3, I have 3 Ruby installed.

ruby 1.8.6 (2008-08-11 patchlevel 287) [i386-mswin32]

ruby 1.8.6 (2009-03-31 patchlevel 386) [i386-mingw32]

I would get rid of the older of the two versions. This saves space and
helps avoid confusion.

ruby 1.9.1 (2009-05-12 revision 23412) [i386-mingw32]

A search revealed the absence of any .irbrc file.

Questions:

Is it necessary to have an .irbrc file?

No.

What should it contained?

require “irb/completion”

Kind regards

robert

On Jun 10, 5:54 pm, Robert K. [email protected] wrote:


remember.guy do |as, often| as.you_can - without endhttp://blog.rubybestpractices.com/

Thank You

bbiker

On Jun 10, 5:54 pm, Robert K. [email protected] wrote:

I would get rid of the older of the two versions. This saves space and
helps avoid confusion.

ruby 1.9.1 (2009-05-12 revision 23412) [i386-mingw32]

This is what I really like to do, but!!!

I am in the process of verifying that my applications run on ruby .
1.8.6 mingw32.
the scripts that use Firewatir have problem with jssh to control
Firefox 3.0
they run fine on ruby 1.8.6 mswin32

not a show stopper since I have Watir scripts that work with IE
Explorer

Looks like it will be a while before I can migrate to ruby 1.9.1 …
the usual gem problem.

watir does not work on ruby 1.9.1

firewatir would work on ruby 1.9.1 with a one-line change except for
the problem with jssh.

once again, thank you for your help.