On Oct 13, 2005, at 2:01 AM, Unnsse Khan wrote:

> :-) Hello again,

Hello.

> I am a Ruby newbie... I am using the following version on Mac OS X  
> Tiger:
>
> Raven:/Developer/DevResources/Ruby/Draw untz$ ruby --version
> ruby 1.8.2 (2004-12-25) [powerpc-darwin8.0]
> Raven:/Developer/DevResources/Ruby/Draw untz$ which ruby
> /usr/bin/ruby

This is Apple's default install, it looks like.  There are a few  
issues with it, so I prefer to build my own version of Ruby.

> I am experiencing several problems....
>
> 1. My irb doesn't support tab completion (the same version of Ruby
> on WinXP does support tab completion)...

I believe this is one of the issues with Apple's install.  If you  
build the readline library, then build your own copy of Ruby, you  
should be able to get this going.

> 2. How do I use similar functionality in irb to clear the buffer,  
> as one would
> do in Unix using "clear" and WinXP, using "cls"?

Try pushing Control-L.

> 3. I copied a simple Draw coding sample and when I tried to run it,
> I got an error...
>
> The code for Draw.rb:

[snip code]

I assume this is a TK issue, but I'll let someone who knows more than  
me address it...

> 4. What is the *BEST* free Ruby IDE in the world?

I'm a text editor fan, not an IDE guy, so I'll let someone else field  
this question too...

James Edward Gray II