[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

comp.lang.ruby

problem with using ruby

Ade

5/27/2007 8:51:00 PM

This is somewhat silly, i downloaded the 1.8.6-25 installer for windows
and installed it.
I went to the command prompt and typed ruby -v, and i got this message
saying ruby isnt a batch command recognized by windows.

What am i doing wrong? I used the one click installer.
Thanks

--
Posted via http://www.ruby-....

5 Answers

Tim Hunter

5/27/2007 8:56:00 PM

0

Ade wrote:
> This is somewhat silly, i downloaded the 1.8.6-25 installer for windows
> and installed it.
> I went to the command prompt and typed ruby -v, and i got this message
> saying ruby isnt a batch command recognized by windows.
>
> What am i doing wrong? I used the one click installer.
> Thanks

Did you try opening a new command window? I don't think changes to your
path are reflected in existing command windows, only to command windows
that you start after the change.

--
Posted via http://www.ruby-....

Jano Svitok

5/27/2007 10:00:00 PM

0

On 5/27/07, Ade <adewale.adebusoye@gmail.com> wrote:
> This is somewhat silly, i downloaded the 1.8.6-25 installer for windows
> and installed it.
> I went to the command prompt and typed ruby -v, and i got this message
> saying ruby isnt a batch command recognized by windows.
>
> What am i doing wrong? I used the one click installer.
> Thanks

It seems it's a bug (or a feature?):

http://rubyforge.org/tracker/index.php?func=detail&aid=10655&group_id=167&am...

Robert Klemme

5/28/2007 11:11:00 AM

0

On 27.05.2007 22:51, Ade wrote:
> This is somewhat silly, i downloaded the 1.8.6-25 installer for windows
> and installed it.
> I went to the command prompt and typed ruby -v, and i got this message
> saying ruby isnt a batch command recognized by windows.
>
> What am i doing wrong? I used the one click installer.

Did you make sure that "ruby.exe" is actually reachable via %PATH%?

robert

Curt Hibbs

5/30/2007 5:24:00 PM

0

On 5/27/07, Jano Svitok <jan.svitok@gmail.com> wrote:
> On 5/27/07, Ade <adewale.adebusoye@gmail.com> wrote:
> > This is somewhat silly, i downloaded the 1.8.6-25 installer for windows
> > and installed it.
> > I went to the command prompt and typed ruby -v, and i got this message
> > saying ruby isnt a batch command recognized by windows.
> >
> > What am i doing wrong? I used the one click installer.
> > Thanks
>
> It seems it's a bug (or a feature?):
>
> http://rubyforge.org/tracker/index.php?func=detail&aid=10655&group_id=167&am...
>
>

The linked reposrt is incorrect. That person had something go wrong
with their installation, which is probably the case hear, also. Make
sure the ruby\bin directory is on your system path.

Curt

Karl von Laudermann

5/30/2007 8:40:00 PM

0

On May 30, 1:23 pm, "Curt (Work) Hibbs" <ml.chi...@gmail.com> wrote:
> On 5/27/07, Jano Svitok <jan.svi...@gmail.com> wrote:
>
> > It seems it's a bug (or a feature?):
>
> >http://rubyforge.org/tracker/index.php?func=detail&aid=10655&am......
>
> The linked reposrt is incorrect. That person had something go wrong
> with their installation, which is probably the case hear, also. Make
> sure the ruby\bin directory is on your system path.

Speaking as the person who wrote that report, I'd say it is correct,
as it is an accurate description of what happened on my machine. On
the same machine, running the same version of Windows, version
1.8.4-19 of the one-click installer consistently adds ruby\bin to the
path (as well as doing other setup tasks), while version 1.8.6-25
consistently fails to do so. This implies that *something* is
different in the behavior between the two versions of the installer.
It may still work fine on some systems despite the difference, but I
see I'm not the only one for whom it doesn't.