# Re: Simple Questions on Ruby

**URL:** <https://www.ruby-forum.com/t/re-simple-questions-on-ruby/65352>\
**Category:** Ruby\
**Created:** [August 17, 2006, 5:53pm UTC](https://www.ruby-forum.com/t/re-simple-questions-on-ruby/65352 "2006-08-17T17:53:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![CameronS\_Gemma\_SUK](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/45deac/32.png) [@CameronS\_Gemma\_SUK](https://www.ruby-forum.com/u/CameronS_Gemma_SUK)\
**Post date:** [August 17, 2006, 5:53pm UTC](https://www.ruby-forum.com/t/re-simple-questions-on-ruby/65352/1 "2006-08-17T17:53:43Z")

</div>

> 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.

> 1. 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. ( :

Hope I’m right and have given you some help! I’m new to ruby as well  
(about a week!). ( :

Ta,

Gem

* * *

This email and any attachments are confidential to the intended  
recipient and may also be privileged. If you are not the intended  
recipient please delete it from your system and notify the sender.  
You should not copy it or use it for any purpose nor disclose or  
distribute its contents to any other person.

* * *

---

<div class="post-metadata">

**Author:** ![CameronS\_Gemma\_SUK](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/45deac/32.png) [@CameronS\_Gemma\_SUK](https://www.ruby-forum.com/u/CameronS_Gemma_SUK)\
**Post date:** [August 17, 2006, 8:15pm UTC](https://www.ruby-forum.com/t/re-simple-questions-on-ruby/65352/2 "2006-08-17T20:15:00Z")

</div>

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.

> > 1. 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.
