From: Chris Gansen Date: 2006-07-20T00:58:22+09:00 Subject: FastCGI, shebang line options, and library path question ------=_Part_74025_29657235.1153324698109 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello! I'm trying to configure a simple script to test a ruby/apache/FastCGI setup here. I need to specify an alternate library path to the ruby executable, as the built-in search path is not sufficient. However, when invoked by FastCGI, it seems to ignore the -I switch. Example shebang: #!/path/to/bin/ruby -I /path/to/lib/ruby/1.8 This line will run ruby, but the -I option is ignored. when I run: ./ruby -I /path/to/lib/ruby/1.8 -e 'puts $:' It appends the specified path. Question: what's the proper way to specify an alternate library path to the ruby interpreter when invoked as a FastCGI script? Thanks! -c- ------=_Part_74025_29657235.1153324698109--