From: Simon Strandgaard <0bz63fz3m1qt3001@...> Date: 2003-04-13T23:14:13+09:00 Subject: Re: ruby_script() On Sun, 13 Apr 2003 23:46:40 +0900, ts wrote: >>>>>> "S" == Simon Strandgaard <0bz63fz3m1qt3001@sneakemail.com> writes: > >>> ./a.out -e 'puts "hello"; raise "out"' > > When ruby compile a script (or a string) it store in each node the name of > the file and the line number. These are these values that it display when it > print an error. > > Because you have used -e the string 'puts "hello"; raise "out"' was > compiled with the name '-e' and when it display the error it use this > name. I think I got that.. But what Im not understanding is when you are doing rb_require() that "embed" is not written out? Is'nt "embed" supposed to be outputted in the backtrace? -- Simon Strandgaard