I’m not a programmer, but like to use Ruby for writing simple programs,
mainly for helping with my day job (as a network engineer). My normal
method of coding is to take an example out a book (“The Pragmatic
Programmers Guide”, what else? :)) and tailor/expand it to to my needs.
I’ve just written a program which produces its results in HTML, for
convenient viewing. I’m feeling a little more ambitious now and would
like now to get a small amount of interaction using simple forms.
However, I’m not really getting past the first hurdle. I thought that
… would run the script indicated. Instead I get a ‘404’ “The
requested URL <path…> was not found on this server.”
I also tried...
In fact, I tried this version first but it neither worked nor gave me
any errors. I know the script in question itself works because I can
run it from the command line (plus it is just creating a ‘Hello World!’
file) - which is to say I chmod 755 the file and started it with the
path to the Ruby bin.
I’m probably missing something really basic, and any advice would be
thanks in advance