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

Fails to start on FreeBSD10 and JRuby 1.7.15 #586

Closed
ponchik opened this issue Sep 27, 2014 · 0 comments
Closed

Fails to start on FreeBSD10 and JRuby 1.7.15 #586

ponchik opened this issue Sep 27, 2014 · 0 comments

Comments

@ponchik
Copy link

ponchik commented Sep 27, 2014

I added gem "puma'' to my Gemfile and it runs well with 2 warnings( Im using latest rails 4.1 and puma)

[root@FJP /web/jtest]# rails s
file:/usr/local/rvm/rubies/jruby-1.7.15/lib/jruby.jar!/jruby/kernel19/kernel.rb:28 warning: executable? does not in this environment and will return a dummy value
file:/usr/local/rvm/rubies/jruby-1.7.15/lib/jruby.jar!/jruby/kernel19/kernel.rb:28 warning: executable? does not in this environment and will return a dummy value
=> Booting Puma
=> Rails 4.1.6 application starting in development on http://0.0.0.0:3000
=> Run rails server -h for more startup options
=> Notice: server is listening on all interfaces (0.0.0.0). Consider using 127.0.0.1 (--binding option)
=> Ctrl-C to shutdown server
Puma 2.9.1 starting...

  • Min threads: 0, max threads: 16
  • Environment: development
  • Listening on tcp://0.0.0.0:3000

But it doesn't pick up socket binding from config/puma.rb so i'm triying to run it ith -b option

[root@FJP /web/jtest]# puma
NotImplementedError: stat.st_dev unsupported or native support failed to load
dev at org/jruby/RubyFileStat.java:184
generate_restart_data at /usr/local/rvm/gems/jruby-1.7.15/gems/puma-2.9.1-java/lib/puma/cli.rb:336
initialize at /usr/local/rvm/gems/jruby-1.7.15/gems/puma-2.9.1-java/lib/puma/cli.rb:41
(root) at /usr/local/rvm/gems/jruby-1.7.15/gems/puma-2.9.1-java/bin/puma:8
load at org/jruby/RubyKernel.java:1081
(root) at /usr/local/rvm/gems/jruby-1.7.15/bin/puma:23

I found the similar problem jruby/jruby#352 but it doesn't work for me. Does anybody know what to do?

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

1 participant