From: Roger Pack Date: 2007-10-18T22:53:39+09:00 Subject: Re: debugging question 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 via http://www.ruby-forum.com/.