Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > irb.bat "bug"?

Thread Tools

irb.bat "bug"?

Harry Ohlsen
Posts: n/a
I just tried to run irb for the first time on Windows and hit a minor snag.

I'm not sure whether this is something specific to /\ndy's one-click installer version, or whether it would be the same installing from source, but my irb.bat assumes that you are sitting on the drive where Ruby is installed. Hence, being on any other drive just generates an error message.

No big problem; I just added the drive to all of the paths mentioned in the .bat file.

I'm guessing that irb.bat is generated on the fly, because the rest of the path presumably depends on where you decide to install Ruby. So, the answer may be as simple as having whatever generates it include the drive letter in the paths.


Harry O.

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off