Looks like you need to double check your lsapi installation.
Yes, I didn't have the make package installed and installing my ruby-lsapi gem, though it says successfully install, wasn't complaining loud enough for me.
I installed the make package and it seems like ruby-lsapi installs correctly, though I can't 100% tell. Here is what is generated:
-bash-3.1# gem install ruby-lsapi
Building native extensions. This could take a while...
make: i386-redhat-linux-gcc: Command not found
make: *** [lsapilib.o] Error 127
make: i386-redhat-linux-gcc: Command not found
make: *** [lsapilib.o] Error 127
ruby extconf.rb install ruby-lsapi
checking for main() in -lsocket... no
creating Makefile
make
i386-redhat-linux-gcc -I. -I. -I/usr/lib/ruby/1.8/i386-linux -I. -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -Wall -fPIC -c lsapilib.c
make install
mkdir -p /usr/lib/ruby/gems/1.8/gems/ruby-lsapi-1.11/lib
i386-redhat-linux-gcc -I. -I. -I/usr/lib/ruby/1.8/i386-linux -I. -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -Wall -fPIC -c lsapilib.c
make clean
Successfully installed ruby-lsapi-1.11
I'm still getting the same error messages in stderror.log as detailed in my previous post.
I deleted my existing virtual host and started over using the EasyRails template and as per step 4 of:
http://www.litespeedtech.com/support/wiki/doku.php?id=litespeed_wiki:ruby_rails_easy
I'm
not doing these steps as per
this post::
Copy dispatch.lsapi to Rails app's public/ directory
- Change shebang line to reference /opt/local/bin/ruby
- Change rewrite rule in public/.htaccess as described in Ruby LSAPI README
- Add same rewrite rule in Litespeed admin console (just in case)
- Server Configuration > External Apps > Add, Type: LSAPI APP
I'm under the impression I don't have to do those steps if I use the template.
What else should I try?
Thanks,
Steve