I finally figured it out. So because I am doing the upgrade, RailsDiff didn’t tell me that I was missing something.
So the error message wasn’t incorrect, however, what I forgot to do was to create an empty directory.
In my app/assets/javascripts/cable.js
, I had the following:
//= require_tree ./channels
However, I forgot to actually create that folder.
So to fix this, all I had to do was create an empty folder within app/assets/javascripts
called channels
. Also, because git ignores empty directories, within that newly created folder, I also had to create an empty file called .keep
.
So once I did the following, everything worked like a charm:
- Create folder:
app/assets/javascripts/channels
- Create empty file within that folder:
app/assets/javascripts/channels/.keep
Everything works perfectly now.