Can I drop to an IRB prompt from a running Ruby script?
I want to run a script, but then have it give me an IRB prompt at a point in the program with the current sta
you can use ruby-debug to get access to irb
require 'rubygems' require 'ruby-debug' x = 23 puts "welcome" debugger puts "end"
when program reaches debugger you will get access to irb.