[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

comp.lang.ruby

Re: Simple Questions on Ruby

Chad Perrin

8/17/2006 6:13:00 PM

On Fri, Aug 18, 2006 at 12:50:11AM +0900, Cameron, Gemma (UK) wrote:
>
> > 1. How do you invoke a .rb file from the irb shell?
> You don't (I think). You run "ruby file.rb" from the command line.

Err, that's what one does to run an entire Ruby program from the command
line, but you can use "load" and "require" from within irb just as you
can from within a saved Ruby program.


>
> > 4. Is there a Ruby IDE?
> There are lots! A few good ones are Mondrian, Komodo (not free but very cheap) and Eclipse with the ruby plugin. You should also find Scrite (right click and edit a ruby file in win explorer). I'm sure there will be lots of other recommendations from the mailing list. ( :
>

I'm not sure what you mean by "Scrite". I'm going to guess it's a typo,
and offer this correction:

Try SciTE. It's an excellent programming-oriented GUI text editor.
When I have to edit textfiles with a GUI application for some reason
(such as the rare occasion of having to use Windows), SciTE is my
favorite tool for the job. The rest of the time, I use Vim, of course.

--
CCD CopyWrite Chad Perrin [ http://ccd.ap... ]
unix virus: If you're using a unixlike OS, please forward
this to 20 others and erase your system partition.