Hi there,
I installed Passenger into Apache but my Rails application won't be
served. I get a 500 Internal Server Error. The Apache error log says:
---------- error_log ----------
/opt/bitnami/ruby/bin/.ruby.bin: error while loading shared libraries:
libruby.so.1.8: cannot open shared object file: No such file or
directory
[ pid=9113 file=ext/apache2/Hooks.cpp:727 time=2010-03-24
10:24:18.271 ]:
Unexpected error in mod_passenger: Cannot spawn application '/opt/
bitnami/projects/event/current': Could not read from the spawn server:
Connection reset by peer (104)
Backtrace:
in 'virtual boost::shared_ptr<Passenger::Application::Session>
Passenger::ApplicationPoolServer::Client::get(const
Passenger::PoolOptions&)' (ApplicationPoolServer.h:471)
in 'int Hooks::handleRequest(request_rec*)' (Hooks.cpp:523)
---------------------------------
There's a neat installation of the required ruby lib within /opt/
bitnami/ruby/lib. It contains libruby.so.1.8, which is a symbolic link
and points to the file libruby.so.1.8.7 in the same directory. The
ruby configuration seems to point to that directory as well.
Static content of the "public" directory is served fine, btw.
I feel I'm missing something very basic here but I just can't get it
to work. Any help from you would be highly appreciated. Thanks in
advance,
Sebastian