T
Toby Rodwell
This is not a Ruby problem as such, but I'm hoping someone will have
come across this problem before and can advise.
I have a basic CGI script, that loads a YAML file and prints out HTML
and a few calculated results. The script works fine when I run it from
the command line, but (no surprise!) I have problems when trying to
access it from a browser. The error message in the APache log
(abbreviated) is " No such file or directory -
/usr/local/lib/ruby/1.8/sparc-solaris2.9/stringio.so (LoadError)
from /usr/local/lib/ruby/1.8/yaml.rb:9"
I guess this must be something to do with permissions, or environment,
because the file referred to *does* exist. Broadly speaking, from a few
basic tests, it seems that none of the 'requires' are working.
Any ideas?
thanks in advance
come across this problem before and can advise.
I have a basic CGI script, that loads a YAML file and prints out HTML
and a few calculated results. The script works fine when I run it from
the command line, but (no surprise!) I have problems when trying to
access it from a browser. The error message in the APache log
(abbreviated) is " No such file or directory -
/usr/local/lib/ruby/1.8/sparc-solaris2.9/stringio.so (LoadError)
from /usr/local/lib/ruby/1.8/yaml.rb:9"
I guess this must be something to do with permissions, or environment,
because the file referred to *does* exist. Broadly speaking, from a few
basic tests, it seems that none of the 'requires' are working.
Any ideas?
thanks in advance