Re: ScITE Question

Rick
Mon, 17 Aug 2009 13:36:14 -0000

Have you asked here: http://groups.google.com/group/scite-interest

On Aug 17, 6:13 am, Young Ben
<nzcall...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:
> I''m a newbie & am just learning to use Ruby. I''ve
chosen ScITE as my
> editor. So far so good, writing scripts then executing them inside
> ScITE using ''F5''.
>
> when I run this in ScITE
>
> puts "Hello, world. What is your name?"
> myname = gets()
> puts "Well, hello there " + myname + "."
>
> All that happens is the ruby.exe window pops up & sits there blank.
>
> If I name the above script "banana1.rb", save it to
C:\rubyprograms
>
> & then run the program from the command prompt it runs fine.
>
> eg:
>
> c:\rubyprograms> ruby banana1.rb
> Hello, world. What is your name?"
> OneBanana
> Well, hello there OneBanana
>
> Why won''t it run in ScITE?
>
> Thanks in advance.