From: Rick DeNatale Date: 2009-10-11T05:33:05+09:00 Subject: Re: Need help invoking debug On Sat, Oct 10, 2009 at 5:13 AM, Shawn Hart wrote: > Newbie here.. I'm trying to run a ruby program in debug mode.  I used > the following command: > > ruby -r debug debugtest.rb > > The response I get is this: > > Debug.rb > Emacs support available. > > C:/Program Files/Ruby/lib/ruby/site_ruby/1.8/ubygems.rb:10:require > 'rubygems' > (rdb:1) > > No typos.. does it have something to do with the reference to ubygems. > I haven't played around with the installation files so I don't > understand how a file could be mis-named, but who knows.  And looking at > the folder shows both rubygems.rb and ubygems.rb. > > Or is it referring to something else?  I don't get it.  I'm working my > way through a beginners book but seem to be hung-up on this example. Did you try looking at what's inside ubygems.rb # This file allows for the running of rubygems with a nice # command line look-and-feel: ruby -rubygems foo.rb #-- # Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others. # All rights reserved. # See LICENSE.txt for permissions. #++ require 'rubygems' -- Rick DeNatale Blog: http://talklikeaduck.denhaven2.com/ Twitter: http://twitter.com/RickDeNatale WWR: http://www.workingwithrails.com/person/9021-rick-denatale LinkedIn: http://www.linkedin.com/in/rickdenatale