Short and sweet. You want to list local variables in ruby-debug? Try
info locals
You can also get ruby-debug to list your stack, instance variables, and much more. Type in plain old “info” into debugger to see a full list of what ruby-debug is willing to reveal to you.