Note that it will appear every time with the first Rails s after building the environment It is a prerequisite for building a rails environment using bundle.
When I do $ rails s
, I get the following error ...
$ bundle exec rails s
=> Booting Puma
=> Rails 6.0.3.2 application starting in development
=> Run `rails server --help` for more startup options
Exiting
Traceback (most recent call last)
.....
.....
Webpacker configuration file not found /Users/hoge_app/config/webpacker.yml.
Please run rails webpacker:install
Error: No such file or directory @ rb_sysopen - /Users/hoge_app/config/webpacker.yml (RuntimeError)
The error text says Please run rails webpacker: install
, so just run it!
$ bundle exec rails webpacker:install
This is OK!
Recommended Posts