I am starting with ruby, but I would like to use rubycocoa and xcode.

question 1:
-----------------

at the terminal I write
ruby
puts "hello world"
^D

In rubycocoa, what do I need to do to run that code? create a new file?
create a ruby class?

question 2:
----------------

I am running a rubycocoa tutorial, and my version gives me an error,
and the tutorial does not. I copied there controller.rb file and I
still get the error, so I know  I messed up something in the nib. How
do I find what is the different in the two nibs? Is there a way of
getting cocoa to show the various links which were established? I can't
use debug to see what is different.

thanks
anne