varvet / godmin

Admin framework for Rails 5+
http://godmin-sandbox.herokuapp.com
MIT License
486 stars 51 forks source link

`admin/bin/rails generate godmin:install` fails: "admin/application.js does not appear to exist" #252

Open dgmstuart opened 4 years ago

dgmstuart commented 4 years ago

While following the setup instructions, and running admin/bin/rails generate godmin:install on a Rails 6 application, I get the following error:

The file ~/dev/my_app/admin/app/assets/javascripts/admin/application.js does not appear to exist

dgmstuart commented 4 years ago

This is because in Rails 6 this has moved to app/javascript/packs/application.js

dgmstuart commented 4 years ago

Or... actually the rails engine no longer generates any javascript assets at all...