evanphx/puma — Issue #36: Rails 3.1.3 - JRuby 1.6.5.1 - Sun Java 7: Does Not Respond To Requests
Author: alfredw
Created: 2012-01-28 19:13:33+00:00
State: open

Hello,

I started a brand new app today and I wanted to try Puma out with JRuby but unfortunately I was unable to get it to respond to requests. Here is some info:

* jruby 1.6.5.1 (ruby-1.8.7-p330) (2011-12-27 1bf37c2) (Java HotSpot(TM) 64-Bit Server VM 1.7.0) [linux-amd64-java]
* Rails 3.1.3
* puma 0.9.3
* Rack 1.3.6

I created a brand new application added puma to my GemFile and when I run the following command it starts up but when I try to hit the site from the browser nothing happens and it just sits there.

> ~/temp/test_app$ rails s puma
> => Booting Puma
> => Rails 3.1.3 application starting in development on http://0.0.0.0:3000
> => Call with -d to detach
> => Ctrl-C to shutdown server
> Puma 0.9.3 starting...
> * Min threads: 0, max threads: 16
> * Listening on tcp://0.0.0.0:3000

I also tried just running puma without the rails call and same issue. I'm not sure if there are any logs that I can help with but let me know.