You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Show a relative path when describing configuration missing
For a mounted Rails engine we need the config to be in the application
mount directory e.g. test/dummy/config/webpacker.yml
By running this based on pwd we get this in a Rails engine app:
```
➜ rails-plugin rake app:webpacker:verify_install
RAILS_ENV=development environment is not defined in config/webpacker.yml, falling back to production environment
Configuration test/dummy/config/webpacker.yml file not found.
Make sure webpacker:install is run successfully before running dependent tasks
```
Whereas in a normal Rails installation it outputs unchanged:
```
➜ full-app git:(master) ✗ rake webpacker:verify_install
RAILS_ENV=development environment is not defined in config/webpacker.yml, falling back to production environment
Configuration config/webpacker.yml file not found.
Make sure webpacker:install is run successfully before running dependent tasks
```
0 commit comments