Hello,
I am unsure if this is a Rack, Passenger, or Sinatra error:
I have installed Apache, Passenger and Sinatra on CentOS 5.3 on top of
Ruby 1.9.1 using the newest gems. If I try running a Sinatra
application through passenger, I get an "Internal Server Error"
showing in my browser.
The logs at /var/log/httpd/error_log shows:
IOError - closed stream:127.0.0.1 - - [05/Oct/2009 09:03:07] "GET / "
500 30 0.0005
If I run a pure Rack (no Sinatra) application, it works without error.
Also, if I run the
config.ru file directly via rackup, it works fine,
too.
The Sinatra app is purely a:
get "/" { "hello world!" }
application.
Is there a location that would show me what errors within Sinatra
could be causing the above IOError?
Any help is appreciated -- thanks!