Ruby for Windows, Compiler (like DJGPP)

I’m a beginner in the C++ world, and have been using DJGPP compiler program.
I’d like to learn ruby, but have been having issues with figuring out what
programs to run, how to run, etc to bring up a compiler (like i’m used to in
DJGPP… double click rhide and i’m in business). Does ruby have any similar
compilation interfaces like DJGPP does?

Ps. i’ve installed ruby 1.8, and also installed mswin based on a link from
another post in here. Both installed in seperate directories. Not sure which
one will stay and which one will go. other info necessary is… i’m running
win98se. anything else needed … just ask. :slight_smile:

Thanks ahead of time

Hello Legion,

Sunday, December 21, 2003, 9:21:54 AM, you wrote:

DJGPP… double click rhide and i’m in business). Does ruby have any similar
compilation interfaces like DJGPP does?

No because it is not a compiler. You run it “ruby.exe file.rb” thats
all. But with this question sit down and read a book about ruby first
before asking more questions.

···


Best regards,
Lothar mailto:mailinglists@scriptolutions.com

it seem to me rhide was something like TurboC or TurboPAscal, I mean a
text based ide.
Dunno about a similar project for ruby, but there are quite a bit of
working IDEs for windows.
Maybe RDE may fit your need, if SciTE does’nt. I liked RubyWin a lot,
but dunno how to set up it with latest ruby :slight_smile:

···

il Sat, 20 Dec 2003 11:30:00 -0800, “Legion” Legion@PeoplePc.com ha scritto::

I’m a beginner in the C++ world, and have been using DJGPP compiler program.
I’d like to learn ruby, but have been having issues with figuring out what
programs to run, how to run, etc to bring up a compiler (like i’m used to in
DJGPP… double click rhide and i’m in business). Does ruby have any similar
compilation interfaces like DJGPP does?

Hello Legion,

···

On Sun, 21 Dec 2003, Lothar Scholz wrote:

Sunday, December 21, 2003, 9:21:54 AM, you wrote:

L> DJGPP… double click rhide and i’m in business). Does ruby have any similar

L> compilation interfaces like DJGPP does?

No because it is not a compiler. You run it “ruby.exe file.rb” thats

all. But with this question sit down and read a book about ruby first

before asking more questions.

If you have installed the pragmatic programmers’ Ruby installer, the help
file included is actually their book Programming Ruby, which would be an
excellent introduction (it’s better in paper, though).

You could also start out with the irb (interactive ruby) command:

C:\Documents and Settings\Chad>irb --simple-prompt --readline

10.times {
?> puts “Hello”
}
Hello
Hello
Hello
Hello
Hello
Hello
Hello
Hello
Hello
Hello
=> 10
“Hello”.class
=> String
Dir.pwd
=> “C:/Documents and Settings/Chad”>> Dir.chdir “/”
=> 0
Dir.pwd
=> “C:/”
etc.

Chad