Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rails 3.1.3 - JRuby 1.6.5.1 - Sun Java 7: Does Not Respond To Requests #36

Closed
alfredw opened this issue Jan 28, 2012 · 4 comments
Closed

Comments

@alfredw
Copy link

alfredw commented Jan 28, 2012

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.

@celsodantas
Copy link

Same here.

 $  ruby -v
 jruby 1.6.6 (ruby-1.8.7-p357) (2012-01-30 5673572) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_29) [darwin-x86_64-java]

 $  rails s puma   
= > Booting Puma
=> Rails 3.2.1 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 just created a new rails app, added gem 'puma', ran bundle and ran rails s puma and I can't access the application. It just hung there. No response.

And same thing on a Windows machine.

If I find any news, I'll post here.

@celsodantas
Copy link

It works if I downgrade to 0.9.2.

@evanphx
Copy link
Member

evanphx commented Mar 21, 2012

Could you retest with 0.9.5?

@celsodantas
Copy link

I did it and it works fine! =D

both on Windows 7 and Mac 10.7.
JRuby 1.6.7
Rails 3.2.1 and 3.2.2

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants