Get $50+ off for Black Friday!

We've moved discussions to Discord

Is the mailer generator not working? (Rails 7)

Aska Konomi •
When creating a mailer the erb files seems to be not generated:
? rails g mailer Purchase
      create  app/mailers/purchase_mailer.rb
       error  erb [not found]
      invoke  test_unit
      create    test/mailers/purchase_mailer_test.rb
      create    test/mailers/previews/purchase_mailer_preview.rb
Are we supposed to do this in some other way?
I have looked the docs and searched the forum, but couldn't find much info on this.
Donn Felker •
I'm also getting this same issue. Weird.
Aska Konomi •
Donn Felker  
After merging the JSP update some time ago, the generator would create an empty folder, but with nothing inside. I guess it was being worked on?

Unfortunately I couldn't successfully merge the latest JSP update to see if this issue was fixed. Something would stop the server from starting if I merge the updates.
Notifications
You’re not receiving notifications from this thread.