Procfileが作成できない
Heroku上でPumaのプロセスを走らせる設定ファイルを作成したいです。
発生している問題・エラー
web: bundle exec puma -C config/puma.rb
上記のコマンドを入力して、ルートディレクトリに置こうとしたらエラーが出ました
web:: command not found
また、コマンドの web: を抜いて入力してみて、下記のエラーが発生しました。
bundle exec puma -C config/puma.rb
Puma starting in single mode...
* Version 4.3.6 (ruby 2.6.3-p62), codename: Mysterious Traveller
* Min threads: 5, max threads: 5
* Environment: development
warning ../../package.json: No license field
Traceback (most recent call last):
14: from /home/ubuntu/.rvm/gems/ruby-2.6.3/bin/ruby_executable_hooks:24:in `<main>'
13: from /home/ubuntu/.rvm/gems/ruby-2.6.3/bin/ruby_executable_hooks:24:in `eval'
12: from /home/ubuntu/.rvm/gems/ruby-2.6.3/bin/puma:23:in `<main>'
11: from /home/ubuntu/.rvm/gems/ruby-2.6.3/bin/puma:23:in `load'
10: from /home/ubuntu/.rvm/gems/ruby-2.6.3/gems/puma-4.3.6/bin/puma:10:in `<top (required)>'
9: from /home/ubuntu/.rvm/gems/ruby-2.6.3/gems/puma-4.3.6/lib/puma/cli.rb:80:in `run'
8: from /home/ubuntu/.rvm/gems/ruby-2.6.3/gems/puma-4.3.6/lib/puma/launcher.rb:172:in `run'
7: from /home/ubuntu/.rvm/gems/ruby-2.6.3/gems/puma-4.3.6/lib/puma/single.rb:98:in `run'
6: from /home/ubuntu/.rvm/gems/ruby-2.6.3/gems/puma-4.3.6/lib/puma/runner.rb:161:in `load_and_bind'
5: from /home/ubuntu/.rvm/gems/ruby-2.6.3/gems/puma-4.3.6/lib/puma/binder.rb:90:in `parse'
4: from /home/ubuntu/.rvm/gems/ruby-2.6.3/gems/puma-4.3.6/lib/puma/binder.rb:90:in `each'
3: from /home/ubuntu/.rvm/gems/ruby-2.6.3/gems/puma-4.3.6/lib/puma/binder.rb:106:in `block in parse'
2: from /home/ubuntu/.rvm/gems/ruby-2.6.3/gems/puma-4.3.6/lib/puma/binder.rb:229:in `add_tcp_listener'
1: from /home/ubuntu/.rvm/gems/ruby-2.6.3/gems/puma-4.3.6/lib/puma/binder.rb:229:in `new'
/home/ubuntu/.rvm/gems/ruby-2.6.3/gems/puma-4.3.6/lib/puma/binder.rb:229:in `initialize': Address already in use - bind(2) for "0.0.0.0" port 8080 (Errno::EADDRINUSE)
0