J
julian
I have a couple of questions which is fairly simple , as I am very new
to ruby programming, There are a lot of editors that one can use to
write a ruby program, and ruby 1.8.2 comes with an editor built in
called SciTE. I am using SciTE and at the moment ruby 1.8.2 as that
seemed the stable version of rub available.
Question 1
If you use SciTE to write a ruby program and save it in a directory
with a .rb exstension, is it true that it can be ran in the cmd
(command prompt) fine, but if you try to run the ruby program in the
SciTE editor by opening the output windoow ,and choosing the go option
(F5) that some ruby programs will not run in this way, especially if
there ar gets statements in them where the program is trying to get
characters from the key board? Basically a ruby program ran in SciTe
with a gets statement will try to open up a command prompt when you run
it and then craches! Yes?!
Question 2
If I want to upgrade from ruby version 1.8.2 to to 1.8.4, is there a
best possible way to do this, or is it best to use the uninstaller that
comes with ruby and unistall the current version and then to use the
ruby one click installer at http://rubyinstaller.rubyforge.org to
install ruby 1.8.4, and finally is there a finished stable 1.8.4
version available?
if any one can help, I would be very graitfull many thanks julian.
to ruby programming, There are a lot of editors that one can use to
write a ruby program, and ruby 1.8.2 comes with an editor built in
called SciTE. I am using SciTE and at the moment ruby 1.8.2 as that
seemed the stable version of rub available.
Question 1
If you use SciTE to write a ruby program and save it in a directory
with a .rb exstension, is it true that it can be ran in the cmd
(command prompt) fine, but if you try to run the ruby program in the
SciTE editor by opening the output windoow ,and choosing the go option
(F5) that some ruby programs will not run in this way, especially if
there ar gets statements in them where the program is trying to get
characters from the key board? Basically a ruby program ran in SciTe
with a gets statement will try to open up a command prompt when you run
it and then craches! Yes?!
Question 2
If I want to upgrade from ruby version 1.8.2 to to 1.8.4, is there a
best possible way to do this, or is it best to use the uninstaller that
comes with ruby and unistall the current version and then to use the
ruby one click installer at http://rubyinstaller.rubyforge.org to
install ruby 1.8.4, and finally is there a finished stable 1.8.4
version available?
if any one can help, I would be very graitfull many thanks julian.