Skip to content

Instantly share code, notes, and snippets.

@pvalena
Created January 15, 2024 09:56
Show Gist options
  • Save pvalena/978a178b72c090031af6e33895fb741e to your computer and use it in GitHub Desktop.
Save pvalena/978a178b72c090031af6e33895fb741e to your computer and use it in GitHub Desktop.
+ rails new app --skip-bundle --skip-test --skip-bootsnap --skip-webpacker --skip-git --skip-javascript -f
create
create README.md
create Rakefile
create .ruby-version
create config.ru
create Gemfile
create app
create app/assets/config/manifest.js
create app/assets/stylesheets/application.css
create app/channels/application_cable/channel.rb
create app/channels/application_cable/connection.rb
create app/controllers/application_controller.rb
create app/helpers/application_helper.rb
create app/jobs/application_job.rb
create app/mailers/application_mailer.rb
create app/models/application_record.rb
create app/views/layouts/application.html.erb
create app/views/layouts/mailer.html.erb
create app/views/layouts/mailer.text.erb
create app/assets/images
create app/assets/images/.keep
create app/controllers/concerns/.keep
create app/models/concerns/.keep
create bin
create bin/rails
create bin/rake
create bin/setup
create config
create config/routes.rb
create config/application.rb
create config/environment.rb
create config/cable.yml
create config/puma.rb
create config/storage.yml
create config/environments
create config/environments/development.rb
create config/environments/production.rb
create config/environments/test.rb
create config/initializers
create config/initializers/assets.rb
create config/initializers/content_security_policy.rb
create config/initializers/cors.rb
create config/initializers/filter_parameter_logging.rb
create config/initializers/inflections.rb
create config/initializers/new_framework_defaults_7_0.rb
create config/initializers/permissions_policy.rb
create config/locales
create config/locales/en.yml
create config/master.key
create config/boot.rb
create config/database.yml
create db
create db/seeds.rb
create lib
create lib/tasks
create lib/tasks/.keep
create lib/assets
create lib/assets/.keep
create log
create log/.keep
create public
create public/404.html
create public/422.html
create public/500.html
create public/apple-touch-icon-precomposed.png
create public/apple-touch-icon.png
create public/favicon.ico
create public/robots.txt
create tmp
create tmp/.keep
create tmp/pids
create tmp/pids/.keep
create tmp/cache
create tmp/cache/assets
create vendor
create vendor/.keep
create storage
create storage/.keep
create tmp/storage
create tmp/storage/.keep
remove config/initializers/cors.rb
remove config/initializers/new_framework_defaults_7_0.rb
Finish: shell
Finish: run
+ mock --bootstrap-chroot --isolation=nspawn -r fedora-rubygems-x86_64 -n --result=./result --unpriv --shell 'set -xe; export PATH="${PATH}:/builddir/bin"; [[ -d /builddir/app ]] && cd ~/app || cd; sed -i "s/\(gem .puma.\).*/\1/" Gemfile || { { set +xe; } &>/dev/null; grep -vE ^# Gemfile | grep -vE ^; gem list | grep ^rails' '; exit 1; }'
INFO: mock.py version 5.4 starting (python version = 3.12.1, NVR = mock-5.4-1.fc40), args: /usr/libexec/mock/mock --bootstrap-chroot --isolation=nspawn -r fedora-rubygems-x86_64 -n --result=./result --unpriv --shell 'set -xe; export PATH="${PATH}:/builddir/bin"; [[ -d /builddir/app ]] && cd ~/app || cd; sed -i "s/\(gem .puma.\).*/\1/" Gemfile || { { set +xe; } &>/dev/null; grep -vE ^# Gemfile | grep -vE ^; gem list | grep ^rails' '; exit 1; }'
Start(bootstrap): init plugins
INFO: selinux disabled
INFO: compress_logs: initialized
Finish(bootstrap): init plugins
Start: init plugins
INFO: selinux disabled
INFO: compress_logs: initialized
Finish: init plugins
INFO: Signal handler active
Start: run
Start(bootstrap): chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start(bootstrap): cleaning package manager metadata
Finish(bootstrap): cleaning package manager metadata
INFO: Package manager dnf detected and used (fallback)
Finish(bootstrap): chroot init
Start: chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start: cleaning package manager metadata
Finish: cleaning package manager metadata
INFO: enabled ccache
INFO: Package manager dnf detected and used (direct choice)
Finish: chroot init
Start: shell
+ export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/builddir/bin
+ PATH=/usr/bin:/bin:/usr/sbin:/sbin:/builddir/bin
+ [[ -d /builddir/app ]]
+ cd /builddir/app
+ sed -i 's/\(gem .puma.\).*/\1/' Gemfile
Finish: shell
Finish: run
+ mock --bootstrap-chroot --isolation=nspawn -r fedora-rubygems-x86_64 -n --result=./result --unpriv --shell 'set -xe; export PATH="${PATH}:/builddir/bin"; [[ -d /builddir/app ]] && cd ~/app || cd; sed -i "s/\(gem .listen.\).*/\1/" Gemfile || { { set +xe; } &>/dev/null; grep -vE ^# Gemfile | grep -vE ^; gem list | grep ^rails' '; exit 1; }'
INFO: mock.py version 5.4 starting (python version = 3.12.1, NVR = mock-5.4-1.fc40), args: /usr/libexec/mock/mock --bootstrap-chroot --isolation=nspawn -r fedora-rubygems-x86_64 -n --result=./result --unpriv --shell 'set -xe; export PATH="${PATH}:/builddir/bin"; [[ -d /builddir/app ]] && cd ~/app || cd; sed -i "s/\(gem .listen.\).*/\1/" Gemfile || { { set +xe; } &>/dev/null; grep -vE ^# Gemfile | grep -vE ^; gem list | grep ^rails' '; exit 1; }'
Start(bootstrap): init plugins
INFO: selinux disabled
INFO: compress_logs: initialized
Finish(bootstrap): init plugins
Start: init plugins
INFO: selinux disabled
INFO: compress_logs: initialized
Finish: init plugins
INFO: Signal handler active
Start: run
Start(bootstrap): chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start(bootstrap): cleaning package manager metadata
Finish(bootstrap): cleaning package manager metadata
INFO: Package manager dnf detected and used (fallback)
Finish(bootstrap): chroot init
Start: chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start: cleaning package manager metadata
Finish: cleaning package manager metadata
INFO: enabled ccache
INFO: Package manager dnf detected and used (direct choice)
Finish: chroot init
Start: shell
+ export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/builddir/bin
+ PATH=/usr/bin:/bin:/usr/sbin:/sbin:/builddir/bin
+ [[ -d /builddir/app ]]
+ cd /builddir/app
+ sed -i 's/\(gem .listen.\).*/\1/' Gemfile
Finish: shell
Finish: run
+ mock --bootstrap-chroot --isolation=nspawn -r fedora-rubygems-x86_64 -n --result=./result --unpriv --shell 'set -xe; export PATH="${PATH}:/builddir/bin"; [[ -d /builddir/app ]] && cd ~/app || cd; sed -i "/gem .sass-rails./ d" Gemfile || { { set +xe; } &>/dev/null; grep -vE ^# Gemfile | grep -vE ^; gem list | grep ^rails' '; exit 1; }'
INFO: mock.py version 5.4 starting (python version = 3.12.1, NVR = mock-5.4-1.fc40), args: /usr/libexec/mock/mock --bootstrap-chroot --isolation=nspawn -r fedora-rubygems-x86_64 -n --result=./result --unpriv --shell 'set -xe; export PATH="${PATH}:/builddir/bin"; [[ -d /builddir/app ]] && cd ~/app || cd; sed -i "/gem .sass-rails./ d" Gemfile || { { set +xe; } &>/dev/null; grep -vE ^# Gemfile | grep -vE ^; gem list | grep ^rails' '; exit 1; }'
Start(bootstrap): init plugins
INFO: selinux disabled
INFO: compress_logs: initialized
Finish(bootstrap): init plugins
Start: init plugins
INFO: selinux disabled
INFO: compress_logs: initialized
Finish: init plugins
INFO: Signal handler active
Start: run
Start(bootstrap): chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start(bootstrap): cleaning package manager metadata
Finish(bootstrap): cleaning package manager metadata
INFO: Package manager dnf detected and used (fallback)
Finish(bootstrap): chroot init
Start: chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start: cleaning package manager metadata
Finish: cleaning package manager metadata
INFO: enabled ccache
INFO: Package manager dnf detected and used (direct choice)
Finish: chroot init
Start: shell
+ export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/builddir/bin
+ PATH=/usr/bin:/bin:/usr/sbin:/sbin:/builddir/bin
+ [[ -d /builddir/app ]]
+ cd /builddir/app
+ sed -i '/gem .sass-rails./ d' Gemfile
Finish: shell
Finish: run
+ mock --bootstrap-chroot --isolation=nspawn -r fedora-rubygems-x86_64 -n --result=./result --unpriv --shell 'set -xe; export PATH="${PATH}:/builddir/bin"; [[ -d /builddir/app ]] && cd ~/app || cd; sed -i "/gem .rack-mini-profiler./ d" Gemfile || { { set +xe; } &>/dev/null; grep -vE ^# Gemfile | grep -vE ^; gem list | grep ^rails' '; exit 1; }'
INFO: mock.py version 5.4 starting (python version = 3.12.1, NVR = mock-5.4-1.fc40), args: /usr/libexec/mock/mock --bootstrap-chroot --isolation=nspawn -r fedora-rubygems-x86_64 -n --result=./result --unpriv --shell 'set -xe; export PATH="${PATH}:/builddir/bin"; [[ -d /builddir/app ]] && cd ~/app || cd; sed -i "/gem .rack-mini-profiler./ d" Gemfile || { { set +xe; } &>/dev/null; grep -vE ^# Gemfile | grep -vE ^; gem list | grep ^rails' '; exit 1; }'
Start(bootstrap): init plugins
INFO: selinux disabled
INFO: compress_logs: initialized
Finish(bootstrap): init plugins
Start: init plugins
INFO: selinux disabled
INFO: compress_logs: initialized
Finish: init plugins
INFO: Signal handler active
Start: run
Start(bootstrap): chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start(bootstrap): cleaning package manager metadata
Finish(bootstrap): cleaning package manager metadata
INFO: Package manager dnf detected and used (fallback)
Finish(bootstrap): chroot init
Start: chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start: cleaning package manager metadata
Finish: cleaning package manager metadata
INFO: enabled ccache
INFO: Package manager dnf detected and used (direct choice)
Finish: chroot init
Start: shell
+ export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/builddir/bin
+ PATH=/usr/bin:/bin:/usr/sbin:/sbin:/builddir/bin
+ [[ -d /builddir/app ]]
+ cd /builddir/app
+ sed -i '/gem .rack-mini-profiler./ d' Gemfile
Finish: shell
Finish: run
+ mock --bootstrap-chroot --isolation=nspawn -r fedora-rubygems-x86_64 -n --result=./result --unpriv --shell 'set -xe; export PATH="${PATH}:/builddir/bin"; [[ -d /builddir/app ]] && cd ~/app || cd; sed -i "/gem .debug./ d" Gemfile || { { set +xe; } &>/dev/null; grep -vE ^# Gemfile | grep -vE ^; gem list | grep ^rails' '; exit 1; }'
INFO: mock.py version 5.4 starting (python version = 3.12.1, NVR = mock-5.4-1.fc40), args: /usr/libexec/mock/mock --bootstrap-chroot --isolation=nspawn -r fedora-rubygems-x86_64 -n --result=./result --unpriv --shell 'set -xe; export PATH="${PATH}:/builddir/bin"; [[ -d /builddir/app ]] && cd ~/app || cd; sed -i "/gem .debug./ d" Gemfile || { { set +xe; } &>/dev/null; grep -vE ^# Gemfile | grep -vE ^; gem list | grep ^rails' '; exit 1; }'
Start(bootstrap): init plugins
INFO: selinux disabled
INFO: compress_logs: initialized
Finish(bootstrap): init plugins
Start: init plugins
INFO: selinux disabled
INFO: compress_logs: initialized
Finish: init plugins
INFO: Signal handler active
Start: run
Start(bootstrap): chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start(bootstrap): cleaning package manager metadata
Finish(bootstrap): cleaning package manager metadata
INFO: Package manager dnf detected and used (fallback)
Finish(bootstrap): chroot init
Start: chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start: cleaning package manager metadata
Finish: cleaning package manager metadata
INFO: enabled ccache
INFO: Package manager dnf detected and used (direct choice)
Finish: chroot init
Start: shell
+ export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/builddir/bin
+ PATH=/usr/bin:/bin:/usr/sbin:/sbin:/builddir/bin
+ [[ -d /builddir/app ]]
+ cd /builddir/app
+ sed -i '/gem .debug./ d' Gemfile
Finish: shell
Finish: run
+ mock --bootstrap-chroot --isolation=nspawn -r fedora-rubygems-x86_64 -n --result=./result --unpriv --shell 'set -xe; export PATH="${PATH}:/builddir/bin"; [[ -d /builddir/app ]] && cd ~/app || cd; bundle config set deployment false || { { set +xe; } &>/dev/null; grep -vE ^# Gemfile | grep -vE ^; gem list | grep ^rails' '; exit 1; }'
INFO: mock.py version 5.4 starting (python version = 3.12.1, NVR = mock-5.4-1.fc40), args: /usr/libexec/mock/mock --bootstrap-chroot --isolation=nspawn -r fedora-rubygems-x86_64 -n --result=./result --unpriv --shell 'set -xe; export PATH="${PATH}:/builddir/bin"; [[ -d /builddir/app ]] && cd ~/app || cd; bundle config set deployment false || { { set +xe; } &>/dev/null; grep -vE ^# Gemfile | grep -vE ^; gem list | grep ^rails' '; exit 1; }'
Start(bootstrap): init plugins
INFO: selinux disabled
INFO: compress_logs: initialized
Finish(bootstrap): init plugins
Start: init plugins
INFO: selinux disabled
INFO: compress_logs: initialized
Finish: init plugins
INFO: Signal handler active
Start: run
Start(bootstrap): chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start(bootstrap): cleaning package manager metadata
Finish(bootstrap): cleaning package manager metadata
INFO: Package manager dnf detected and used (fallback)
Finish(bootstrap): chroot init
Start: chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start: cleaning package manager metadata
Finish: cleaning package manager metadata
INFO: enabled ccache
INFO: Package manager dnf detected and used (direct choice)
Finish: chroot init
Start: shell
+ export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/builddir/bin
+ PATH=/usr/bin:/bin:/usr/sbin:/sbin:/builddir/bin
+ [[ -d /builddir/app ]]
+ cd /builddir/app
+ bundle config set deployment false
Finish: shell
Finish: run
+ mock --bootstrap-chroot --isolation=nspawn -r fedora-rubygems-x86_64 -n --result=./result --unpriv --shell 'set -xe; export PATH="${PATH}:/builddir/bin"; [[ -d /builddir/app ]] && cd ~/app || cd; bundle config set without test || { { set +xe; } &>/dev/null; grep -vE ^# Gemfile | grep -vE ^; gem list | grep ^rails' '; exit 1; }'
INFO: mock.py version 5.4 starting (python version = 3.12.1, NVR = mock-5.4-1.fc40), args: /usr/libexec/mock/mock --bootstrap-chroot --isolation=nspawn -r fedora-rubygems-x86_64 -n --result=./result --unpriv --shell 'set -xe; export PATH="${PATH}:/builddir/bin"; [[ -d /builddir/app ]] && cd ~/app || cd; bundle config set without test || { { set +xe; } &>/dev/null; grep -vE ^# Gemfile | grep -vE ^; gem list | grep ^rails' '; exit 1; }'
Start(bootstrap): init plugins
INFO: selinux disabled
INFO: compress_logs: initialized
Finish(bootstrap): init plugins
Start: init plugins
INFO: selinux disabled
INFO: compress_logs: initialized
Finish: init plugins
INFO: Signal handler active
Start: run
Start(bootstrap): chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start(bootstrap): cleaning package manager metadata
Finish(bootstrap): cleaning package manager metadata
INFO: Package manager dnf detected and used (fallback)
Finish(bootstrap): chroot init
Start: chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start: cleaning package manager metadata
Finish: cleaning package manager metadata
INFO: enabled ccache
INFO: Package manager dnf detected and used (direct choice)
Finish: chroot init
Start: shell
+ export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/builddir/bin
+ PATH=/usr/bin:/bin:/usr/sbin:/sbin:/builddir/bin
+ [[ -d /builddir/app ]]
+ cd /builddir/app
+ bundle config set without test
Finish: shell
Finish: run
+ mock --bootstrap-chroot --isolation=nspawn -r fedora-rubygems-x86_64 -n --result=./result --unpriv --shell 'set -xe; export PATH="${PATH}:/builddir/bin"; [[ -d /builddir/app ]] && cd ~/app || cd; bundle install -r 3 --local || { { set +xe; } &>/dev/null; grep -vE ^# Gemfile | grep -vE ^; gem list | grep ^rails' '; exit 1; }'
INFO: mock.py version 5.4 starting (python version = 3.12.1, NVR = mock-5.4-1.fc40), args: /usr/libexec/mock/mock --bootstrap-chroot --isolation=nspawn -r fedora-rubygems-x86_64 -n --result=./result --unpriv --shell 'set -xe; export PATH="${PATH}:/builddir/bin"; [[ -d /builddir/app ]] && cd ~/app || cd; bundle install -r 3 --local || { { set +xe; } &>/dev/null; grep -vE ^# Gemfile | grep -vE ^; gem list | grep ^rails' '; exit 1; }'
Start(bootstrap): init plugins
INFO: selinux disabled
INFO: compress_logs: initialized
Finish(bootstrap): init plugins
Start: init plugins
INFO: selinux disabled
INFO: compress_logs: initialized
Finish: init plugins
INFO: Signal handler active
Start: run
Start(bootstrap): chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start(bootstrap): cleaning package manager metadata
Finish(bootstrap): cleaning package manager metadata
INFO: Package manager dnf detected and used (fallback)
Finish(bootstrap): chroot init
Start: chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start: cleaning package manager metadata
Finish: cleaning package manager metadata
INFO: enabled ccache
INFO: Package manager dnf detected and used (direct choice)
Finish: chroot init
Start: shell
+ export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/builddir/bin
+ PATH=/usr/bin:/bin:/usr/sbin:/sbin:/builddir/bin
+ [[ -d /builddir/app ]]
+ cd /builddir/app
+ bundle install -r 3 --local
Resolving dependencies...
Bundle complete! 7 Gemfile dependencies, 57 gems now installed.
Gems in the group 'test' were not installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
Finish: shell
Finish: run
+ mock --bootstrap-chroot --isolation=nspawn -r fedora-rubygems-x86_64 -n --result=./result --unpriv --shell 'set -xe; export PATH="${PATH}:/builddir/bin"; [[ -d /builddir/app ]] && cd ~/app || cd; ( timeout 30 rails s -u puma &> rails.log & ) ; sleep 10 ; curl -s "http://127.0.0.1:3000" | tr -s ' ' n | grep "Ruby on Rails" && rpm -q rubygem-rails && echo OK && exit 0 ; curl -s "http://127.0.0.1:3000" ||: ; cat rails.log ; sleep 30 ; exit 1 || { { set +xe; } &>/dev/null; grep -vE ^# Gemfile | grep -vE ^; gem list | grep ^rails' '; exit 1; }'
INFO: mock.py version 5.4 starting (python version = 3.12.1, NVR = mock-5.4-1.fc40), args: /usr/libexec/mock/mock --bootstrap-chroot --isolation=nspawn -r fedora-rubygems-x86_64 -n --result=./result --unpriv --shell 'set -xe; export PATH="${PATH}:/builddir/bin"; [[ -d /builddir/app ]] && cd ~/app || cd; ( timeout 30 rails s -u puma &> rails.log & ) ; sleep 10 ; curl -s "http://127.0.0.1:3000" | tr -s ' ' n | grep "Ruby on Rails" && rpm -q rubygem-rails && echo OK && exit 0 ; curl -s "http://127.0.0.1:3000" ||: ; cat rails.log ; sleep 30 ; exit 1 || { { set +xe; } &>/dev/null; grep -vE ^# Gemfile | grep -vE ^; gem list | grep ^rails' '; exit 1; }'
Start(bootstrap): init plugins
INFO: selinux disabled
INFO: compress_logs: initialized
Finish(bootstrap): init plugins
Start: init plugins
INFO: selinux disabled
INFO: compress_logs: initialized
Finish: init plugins
INFO: Signal handler active
Start: run
Start(bootstrap): chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start(bootstrap): cleaning package manager metadata
Finish(bootstrap): cleaning package manager metadata
INFO: Package manager dnf detected and used (fallback)
Finish(bootstrap): chroot init
Start: chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start: cleaning package manager metadata
Finish: cleaning package manager metadata
INFO: enabled ccache
INFO: Package manager dnf detected and used (direct choice)
Finish: chroot init
Start: shell
+ export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/builddir/bin
+ PATH=/usr/bin:/bin:/usr/sbin:/sbin:/builddir/bin
+ [[ -d /builddir/app ]]
+ cd /builddir/app
+ timeout 30 rails s -u puma
+ sleep 10
+ curl -s http://127.0.0.1:3000
+ tr -s n
+ grep 'Ruby on Rails'
+ curl -s http://127.0.0.1:3000
+ :
+ cat rails.log
=> Booting Puma
=> Rails 7.0.8 application starting in development
=> Run `bin/rails server --help` for more startup options
* Enabling systemd notification integration
Puma starting in single mode...
* Puma version: 6.4.2 (ruby 3.3.0-p0) ("The Eagle of Durango")
* Min threads: 5
* Max threads: 5
* Environment: development
* PID: 8
* Listening on http://127.0.0.1:3000
* Listening on http://[::1]:3000
Sending status to systemd every 1.0 sec
Use Ctrl-C to stop
Exiting
/usr/share/ruby/socket.rb:68:in `connect': Errno::EACCES: Permission denied - connect(2) for /run/host/notify (Puma::SdNotify::NotifyError)
from /usr/share/ruby/socket.rb:68:in `connect_internal'
from /usr/share/ruby/socket.rb:141:in `connect'
from /usr/share/gems/gems/puma-6.4.2/lib/puma/sd_notify.rb:140:in `notify'
from /usr/share/gems/gems/puma-6.4.2/lib/puma/sd_notify.rb:53:in `ready'
from /usr/share/gems/gems/puma-6.4.2/lib/puma/plugin/systemd.rb:17:in `block in start'
from /usr/share/gems/gems/puma-6.4.2/lib/puma/events.rb:17:in `block in fire'
from /usr/share/gems/gems/puma-6.4.2/lib/puma/events.rb:17:in `each'
from /usr/share/gems/gems/puma-6.4.2/lib/puma/events.rb:17:in `fire'
from /usr/share/gems/gems/puma-6.4.2/lib/puma/events.rb:46:in `fire_on_booted!'
from /usr/share/gems/gems/puma-6.4.2/lib/puma/single.rb:58:in `run'
from /usr/share/gems/gems/puma-6.4.2/lib/puma/launcher.rb:194:in `run'
from /usr/share/gems/gems/puma-6.4.2/lib/rack/handler/puma.rb:76:in `run'
from /usr/share/gems/gems/rack-2.2.4/lib/rack/server.rb:327:in `start'
from /usr/share/gems/gems/railties-7.0.8/lib/rails/commands/server/server_command.rb:38:in `start'
from /usr/share/gems/gems/railties-7.0.8/lib/rails/commands/server/server_command.rb:143:in `block in perform'
from <internal:kernel>:90:in `tap'
from /usr/share/gems/gems/railties-7.0.8/lib/rails/commands/server/server_command.rb:134:in `perform'
from /usr/share/gems/gems/thor-1.2.1/lib/thor/command.rb:27:in `run'
from /usr/share/gems/gems/thor-1.2.1/lib/thor/invocation.rb:127:in `invoke_command'
from /usr/share/gems/gems/thor-1.2.1/lib/thor.rb:392:in `dispatch'
from /usr/share/gems/gems/railties-7.0.8/lib/rails/command/base.rb:87:in `perform'
from /usr/share/gems/gems/railties-7.0.8/lib/rails/command.rb:48:in `invoke'
from /usr/share/gems/gems/railties-7.0.8/lib/rails/commands.rb:18:in `<top (required)>'
from /usr/share/ruby/bundled_gems.rb:74:in `require'
from /usr/share/ruby/bundled_gems.rb:74:in `block (2 levels) in replace_require'
from bin/rails:4:in `<main>'
/usr/share/ruby/socket.rb:68:in `connect': Permission denied - connect(2) for /run/host/notify (Errno::EACCES)
from /usr/share/ruby/socket.rb:68:in `connect_internal'
from /usr/share/ruby/socket.rb:141:in `connect'
from /usr/share/gems/gems/puma-6.4.2/lib/puma/sd_notify.rb:140:in `notify'
from /usr/share/gems/gems/puma-6.4.2/lib/puma/sd_notify.rb:53:in `ready'
from /usr/share/gems/gems/puma-6.4.2/lib/puma/plugin/systemd.rb:17:in `block in start'
from /usr/share/gems/gems/puma-6.4.2/lib/puma/events.rb:17:in `block in fire'
from /usr/share/gems/gems/puma-6.4.2/lib/puma/events.rb:17:in `each'
from /usr/share/gems/gems/puma-6.4.2/lib/puma/events.rb:17:in `fire'
from /usr/share/gems/gems/puma-6.4.2/lib/puma/events.rb:46:in `fire_on_booted!'
from /usr/share/gems/gems/puma-6.4.2/lib/puma/single.rb:58:in `run'
from /usr/share/gems/gems/puma-6.4.2/lib/puma/launcher.rb:194:in `run'
from /usr/share/gems/gems/puma-6.4.2/lib/rack/handler/puma.rb:76:in `run'
from /usr/share/gems/gems/rack-2.2.4/lib/rack/server.rb:327:in `start'
from /usr/share/gems/gems/railties-7.0.8/lib/rails/commands/server/server_command.rb:38:in `start'
from /usr/share/gems/gems/railties-7.0.8/lib/rails/commands/server/server_command.rb:143:in `block in perform'
from <internal:kernel>:90:in `tap'
from /usr/share/gems/gems/railties-7.0.8/lib/rails/commands/server/server_command.rb:134:in `perform'
from /usr/share/gems/gems/thor-1.2.1/lib/thor/command.rb:27:in `run'
from /usr/share/gems/gems/thor-1.2.1/lib/thor/invocation.rb:127:in `invoke_command'
from /usr/share/gems/gems/thor-1.2.1/lib/thor.rb:392:in `dispatch'
from /usr/share/gems/gems/railties-7.0.8/lib/rails/command/base.rb:87:in `perform'
from /usr/share/gems/gems/railties-7.0.8/lib/rails/command.rb:48:in `invoke'
from /usr/share/gems/gems/railties-7.0.8/lib/rails/commands.rb:18:in `<top (required)>'
from /usr/share/ruby/bundled_gems.rb:74:in `require'
from /usr/share/ruby/bundled_gems.rb:74:in `block (2 levels) in replace_require'
from bin/rails:4:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment