Can you help me with how to debug my nib?

I found the answer to my first question here
http://rubycocoa.sourceforge.net/w.en/ExecutionOrder.html

Apparently, simple ruby code is called in line code. I created a new rb
file in the same directory as main.m and rb_main.rb
and puts "hello world" ran!