# New to ruby

**URL:** <https://www.ruby-forum.com/t/new-to-ruby/122755>\
**Category:** Ruby\
**Created:** [December 11, 2007, 8:46pm UTC](https://www.ruby-forum.com/t/new-to-ruby/122755 "2007-12-11T20:46:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![chrisdwan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/7feea3/32.png) [@chrisdwan](https://www.ruby-forum.com/u/chrisdwan)\
**Post date:** [December 11, 2007, 8:46pm UTC](https://www.ruby-forum.com/t/new-to-ruby/122755/1 "2007-12-11T20:46:37Z")

</div>

Hi i’m completely new to ruby but have some experience in java. First  
thing first, whats the best version of ruby to download and where from?  
I have downloaded ruby fxri for windows. Also i have tried to make a  
small program on this type of ruby but can’t find out how to compile it.  
I can make a puts statedment work in the real time area and i have scite  
text editor. but i am trying to get ruby to read in a file of references  
and then just output them same.

any help would be very greatful.

cheers

---

<div class="post-metadata">

**Author:** ![chrisdwan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/7feea3/32.png) [@chrisdwan](https://www.ruby-forum.com/u/chrisdwan)\
**Post date:** [December 11, 2007, 10:03pm UTC](https://www.ruby-forum.com/t/new-to-ruby/122755/2 "2007-12-11T22:03:37Z")

</div>

Chris Daves wrote:

> Hi i’m completely new to ruby but have some experience in java. First  
> thing first, whats the best version of ruby to download and where from?  
> I have downloaded ruby fxri for windows. Also i have tried to make a  
> small program on this type of ruby but can’t find out how to compile it.  
> I can make a puts statedment work in the real time area and i have scite  
> text editor. but i am trying to get ruby to read in a file of references  
> and then just output them same.
> 
> any help would be very greatful.
> 
> cheers

Ruby is interpreted not compiled and you just run the scripts directly.  
If you want to compile your code for distribution there is  
RubyScript2Exe, although as far as I’m aware it doesn’t actually compile  
your code and instead just puts it inside a .exe with a Ruby VM (and  
some other stuff too).

This topic has also been discussed a lot on Ruby Forum so if you do a  
search you will find lots and lots of info.

---

<div class="post-metadata">

**Author:** ![chrisdwan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/7feea3/32.png) [@chrisdwan](https://www.ruby-forum.com/u/chrisdwan)\
**Post date:** [December 12, 2007, 7:26pm UTC](https://www.ruby-forum.com/t/new-to-ruby/122755/3 "2007-12-12T19:26:38Z")

</div>

On 11.12.2007 21:54, Jari W. wrote:

> Chris Daves wrote:
> 
> > Hi i’m completely new to ruby but have some experience in java. First  
> > thing first, whats the best version of ruby to download and where from?  
> > I have downloaded ruby fxri for windows. Also i have tried to make a  
> > small program on this type of ruby but can’t find out how to compile it.  
> > I can make a puts statedment work in the real time area and i have scite  
> > text editor. but i am trying to get ruby to read in a file of references  
> > and then just output them same.
> 
> As a beginner on Windows, I guess you first want the one-click installer.

Not necessarily. I make good use of cygwin’s Ruby package.

gvim also nicely supports Ruby.

Kind regards

robert

---

<div class="post-metadata">

**Author:** ![chrisdwan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/7feea3/32.png) [@chrisdwan](https://www.ruby-forum.com/u/chrisdwan)\
**Post date:** [December 12, 2007, 6:36pm UTC](https://www.ruby-forum.com/t/new-to-ruby/122755/4 "2007-12-12T18:36:04Z")

</div>

Chris Daves wrote:

> Hi i’m completely new to ruby but have some experience in java. First  
> thing first, whats the best version of ruby to download and where from?  
> I have downloaded ruby fxri for windows. Also i have tried to make a  
> small program on this type of ruby but can’t find out how to compile it.  
> I can make a puts statedment work in the real time area and i have scite  
> text editor. but i am trying to get ruby to read in a file of references  
> and then just output them same.

As a beginner on Windows, I guess you first want the one-click  
installer.

Ruby is a dynamic interpreted language, not a compiled one, although  
there are compilers in development (such as for JRuby). To run a Ruby  
app, you normally just run:  
ruby yourfile.rb  
…from the command line.

(But you can bundle your script projects to an EXE file with  
RubyScript2Exe, however.)

Perhaps you always want NetBeans if you’re used to Java and having your  
programs in projects/IDE.

Best regards,

Jari W.
