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-