From: Matt Date: 2001-07-21T02:49:30+09:00 Subject: [ruby-talk:18194] Re: Newbie. Sinking fast. Please help. OK. Here I go replying to my own mail. I've gotten this to work from the command line now. $ ./miniruby -x -v script_tmp -zzz=555 ruby 1.6.4 (2001-06-04) [i386-freebsdelf3.3] 555$ $ ./miniruby -x -s script_tmp -zzz=555 555$ $ ./miniruby -x . script_tmp -zzz=555 ./miniruby: No Ruby script found in input (LoadError) $ I'm not sure if that last one is proper syntax or not, but it looks like it ought to be... If it is, maybe that'll help someone help me with whatever I'm doing wrong in my build... I'm just really concerned that -x isn't working in test.rb. --Matt On Sat, 21 Jul 2001, Matt wrote: > On Sat, 21 Jul 2001, ts wrote: > > > What is the result when you run it in a script ? > > I'm not *quite* sure what you were asking, so I took my best shot: > > $ cat > script_tmp > this is a leading junk > #! /usr/local/bin/ruby -s > print $zzz > __END__ > this is a trailing junk > $ ./miniruby -x script_tmp -zzz=555 > $ pwd > /home/lewellyn/ruby-1.6.4 > $ > > I don't know Ruby well enough yet to be able to know what's going wrong. (This is my first time trying to build it so I can use it for the first time... ;) > > --Matt > >