> how to use rdebug in a pure ruby script file.Please me

I've wondered that myself.
If you're using MRI I'd recommend using 'ruby-debug' gem, then it's like

require 'rubygems'
require 'ruby-debug'
debugger # somewhere in your script

-- 
Posted via http://www.ruby-forum.com/.