[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

more questions regarding .irbrc on Windows

Bernard Kenik

6/10/2009 9:17:00 PM

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




3 Answers

Robert Klemme

6/10/2009 9:54:00 PM

0

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

--
remember.guy do |as, often| as.you_can - without end
http://blog.rubybestprac...

Bernard Kenik

6/11/2009 4:28:00 AM

0

On Jun 10, 5:54 pm, Robert Klemme <shortcut...@googlemail.com> wrote:
> 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
>
> --
> remember.guy do |as, often| as.you_can - without endhttp://blog.rubybestprac...

Thank You

bbiker

Bernard Kenik

6/11/2009 4:56:00 AM

0

On Jun 10, 5:54 pm, Robert Klemme <shortcut...@googlemail.com> wrote:
> 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]
>

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.