-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
When running the scaffold generator for a new admin page, it always crashes because it can't find a file named "system_test.rb":
$ bin/rails generate admin:scaffold user_actions user_uuid:string legacy_user_id:integer user_identifier:string user_created
_at:datetime zipcode:string ip:string session:string score:integer status:string created_at:datetime updated_at:datetime
create app/views/admin/user_actions
create app/views/admin/user_actions/_form.html.erb
create app/views/admin/user_actions/edit.html.erb
create app/views/admin/user_actions/index.html.erb
create app/views/admin/user_actions/new.html.erb
create app/views/admin/user_actions/show.html.erb
create app/controllers/admin/user_actions_controller.rb
create test/controllers/admin/user_actions_controller_test.rb
Could not find "system_test.rb" in any of your source paths. Your current source paths are:
/usr/local/bundle/ruby/3.4.0/gems/administration-zero-1.0.6/lib/generators/admin/scaffold/templates
This line in the scaffold generator references a template file that doesn't exist, so the scaffold generator always raises an error at that point.
nickthecook and PerpetuumMobile
Metadata
Metadata
Assignees
Labels
No labels