From: eggman2001 Date: 2007-10-19T11:47:33+09:00 Subject: Re: debugging question so I installed the gem rdig. You run rdig with "rdig " and I'd like to debug it. On Oct 18, 9:53 am, Roger Pack wrote: > maybe first > require 'rubygems' > then require the file, > maybe run it from within that directory. > maybe do Dir.chdir to it, first, then require. > > eggman2001 wrote: > > I run this one gem with the command "foo ". I'd like to try > > to run it off the foo.rb file so that I can debug it. However, when I > > do "ruby path/to/foo.rb " it doesn't behave in the same way > > as "foo ". How do I need to run this program in order to > > debug it? > > Specifics would be nice, as I don't quite understand what you're trying > to do. "run a gem"? > -- > Posted viahttp://www.ruby-forum.com/.