From: Toby Rodwell Date: 2007-05-15T22:14:53+09:00 Subject: Problem loading files in Ruby CGI scripts 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 -- Posted via http://www.ruby-forum.com/.