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 6] Deprecation warning when specifying server #51

Open
hron84 opened this issue Sep 1, 2019 · 0 comments
Open

[RAILS 6] Deprecation warning when specifying server #51

hron84 opened this issue Sep 1, 2019 · 0 comments

Comments

@hron84
Copy link

hron84 commented Sep 1, 2019

Code:

guard 'rails', server: 'puma', port: 3001 do
  watch('Gemfile.lock')
  watch(%r{^(config|lib)/.*})
end

Generates this warning on run:

DEPRECATION WARNING: Passing the Rack server name as a regular argument is deprecated and will be removed in the next Rails version. Please, use the -u option instead. (called from <main> at bin/rails:4)
=> Booting Puma
=> Rails 6.0.0 application starting in development 
=> Run `rails server --help` for more startup options
Puma starting in single mode...
* Version 3.12.1 (ruby 2.5.6-p201), codename: Llamas in Pajamas
* Min threads: 5, max threads: 5
* Environment: development
* Listening on tcp://localhost:3001
Use Ctrl-C to stop
14:06:55 - INFO - Rails started, pid 28504

Guard version 2.15.0

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