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

how to control puma5 #28

Open
clousky2020 opened this issue Dec 23, 2020 · 4 comments
Open

how to control puma5 #28

clousky2020 opened this issue Dec 23, 2020 · 4 comments

Comments

@clousky2020
Copy link

Today I upgraded to Puma5. When I entered mina puma:start, it appeared:

-----> Starting Puma...
       bundler: failed to load command: puma (/home/ruby/demo1/releases/4/vendor/bundle/ruby/2.7.0/bin/puma)
       OptionParser::AmbiguousOption: ambiguous option: -d
         /home/ruby/demo1/shared/vendor/bundle/ruby/2.7.0/gems/puma-5.1.1/lib/puma/cli.rb:50:in `initialize'
         /home/ruby/demo1/shared/vendor/bundle/ruby/2.7.0/gems/puma-5.1.1/bin/puma:8:in `new'
         /home/ruby/demo1/shared/vendor/bundle/ruby/2.7.0/gems/puma-5.1.1/bin/puma:8:in `<top (required)>'
         /home/ruby/demo1/releases/4/vendor/bundle/ruby/2.7.0/bin/puma:23:in `load'
         /home/ruby/demo1/releases/4/vendor/bundle/ruby/2.7.0/bin/puma:23:in `<top (required)>'

I have bundle update but it still doesn't work.
How can I solve this problem?

@raofeng
Copy link

raofeng commented Jan 12, 2021

same problem

@Winter-Silence
Copy link

@chagel
Copy link

chagel commented Apr 15, 2021

Put together a gem to manage systemd + puma5. Welcome to fork it.

https://github.com/pipihosting/mina-systemd-puma

@FrankHald
Copy link

@Winter-Silence Using that gem generates the same error for me -- I just installed the gem, anything else I need to configure?

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

5 participants